๐Ÿ” CVE Alert

CVE-2026-4671

HIGH 7.5

justhtml before 1.18.0 Denial of Service via CSS Selector

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-400
Vendor emilstenstrom
Product justhtml
Published Aug 23, 2026
Stay Ahead of the Next One

Get instant alerts for emilstenstrom justhtml

Be the first to know when new high vulnerabilities affecting emilstenstrom justhtml are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

EmilStenstrom / justhtml
0 < 1.18.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/EmilStenstrom/justhtml/security/advisories/GHSA-r8cj-3554-33mr vulncheck.com: https://www.vulncheck.com/advisories/justhtml-before-denial-of-service-via-css-selector

Credits

EmilStenstrom