justhtml before 1.18.0 contains multiple low-severity denial-of-service issues in CSS selector handling and linkification. Applications that evaluate attacker-controlled selector strings (via query(), matches(), or selector-based transforms), run selector matching over very large untrusted documents, construct DOM trees from untrusted structure, or enable linkification over attacker-controlled text may consume disproportionate CPU or memory. Triggers include oversized selectors, large selector lists, oversized compound selectors, long combinator chains, deeply nested functional pseudo-classes, repeated token/positional matching, cyclic DOM graphs causing non-terminating traversal, and punctuation-heavy or trailing-bracket linkification input. These are availability-only concerns and do not by themselves allow script execution, data disclosure, or sanitizer bypass. Default JustHTML(sanitize=True) usage is not expected to be exposed, since selectors are normally supplied by application code.
CVE-2026-4671
Score 7.5 from GitHub Security Advisory (severity: HIGH) published 2026-08-23. a secondary CVSS source baseline 7.5; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.5
- EG Score
- 7.5(high)
- EG Risk
- 49(Track)EG Risk 49/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity75% × 45%Exploitation0% × 40%Automatability100% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 30%
- KEV
- Not listed
Published
August 23, 2026
Last Modified
August 26, 2026
Advisory Details (2)
Auto-updated Aug 23, 2026justhtml before 1.18.0 Denial of Service via CSS Selector | Advisories | VulnCheck
https://www.vulncheck.com/advisories/justhtml-before-denial-of-service-via-css-selectorDenial-of-service hardening in justhtml 1.18.0 · Advisory · EmilStenstrom/justhtml · GitHub
https://github.com/EmilStenstrom/justhtml/security/advisories/GHSA-r8cj-3554-33mrVendor Advisories for CVE-2026-4671(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| justhtml | 0.1.0 ... 1.9.1 (62 versions) | 1.18.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 19× in last 7d / 19× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-26 17:25 UTCGHSA enrichment
- 2026-08-26 15:25 UTCEG score recompute
- 2026-08-26 15:25 UTCGHSA enrichment
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-26 04:13 UTCGHSA enrichment
- 2026-08-25 16:58 UTCEG score recompute
- 2026-08-25 16:57 UTCGHSA enrichment
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 05:32 UTCGHSA enrichment
- 2026-08-24 18:24 UTCEG score recompute
- 2026-08-24 18:24 UTCGHSA enrichment
- 2026-08-24 18:16 UTCEG score recompute
- 2026-08-24 18:16 UTCGHSA enrichment
- 2026-08-24 12:37 UTCGHSA enrichment
- 2026-08-24 01:29 UTCEG score recompute
- 2026-08-24 01:29 UTCGHSA enrichment
- 2026-08-23 14:20 UTCEG score recompute
- 2026-08-23 13:51 UTCEG score recompute
- 2026-08-23 13:50 UTCMITRE cvelistV5first tracked
Frequently asked(5)
What is CVE-2026-4671?
When was CVE-2026-4671 disclosed?
Is CVE-2026-4671 actively exploited?
What is the CVSS score of CVE-2026-4671?
How do I remediate CVE-2026-4671?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-4671
Is Your Infrastructure Affected by CVE-2026-4671?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.