VYPR
High severity7.5OSV Advisory· Published Aug 23, 2026· Updated Aug 26, 2026

CVE-2026-4671

CVE-2026-4671

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

2
  • Emilstenstrom/JusthtmlOSV2 versions
    v1.17.0, v1.16.0, v1.15.0, …+ 1 more
    • (no CPE)range: v1.17.0, v1.16.0, v1.15.0, …
    • (no CPE)range: <1.18.0

Patches

Vulnerability mechanics

References

2

News mentions

0

No linked articles in our index yet.