What’s Vulnerable › Vulnerabilities

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

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

How to fix

Upgrade to a fixed version: EmilStenstrom justhtml 3.11.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-74793 or the next vulnerability affects your stack