← Terug naar overzicht

CVE-2026-4671 affects justhtml versions before 1.18.0, describing multiple low-severity denial-of-service vulnerabilities in CSS selector handling and linkification. Affected applications include those evaluating attacker-controlled selector strings via query(), matches(), or selector-based transforms, processing large untrusted documents, constructing DOM trees from untrusted input, or enabling linkification over attacker-controlled text. Attack triggers include oversized selectors, large selector lists, long combinator chains, deeply nested functional pseudo-classes, cyclic DOM graphs, and punctuation-heavy linkification input. Exploitation may cause disproportionate CPU or memory consumption. These issues are strictly availability-only concerns and do not enable script execution, data disclosure, or sanitizer bypass. The default JustHTML(sanitize=True) configuration is generally not exposed to these issues since selectors are normally supplied by application code. The fix is available in justhtml version 1.18.0.

Affected products

  • justhtml

Related CVE's

  • CVE-2026-4671

Categories

  • Supply Chain & Dependencies
  • Web Technologies