Skip to content

CVE-2026-74793 justhtml before 3.11.0 XSS via selectedcontent projection

MediumCVSS 5.1 EPSS 0.25%
Published
Updated
Exploit status
No public exploit known

Description

justhtml before 3.11.0 contains a cross-site scripting vulnerability where the default sanitizer bypasses event handler removal in selectedcontent projections. Attackers can inject SVG or MathML elements with event handlers that are cloned and reinserted into output without sanitization, enabling stored or reflected XSS attacks.

Affected products

ProductAffected versionsFixed in
pypi justhtml < 3.11.0 3.11.0

References