CVE-2026-74793 PUBLISHED

justhtml before 3.11.0 XSS via selectedcontent projection

Assigner: VulnCheck
Reserved: 16.08.2026 Published: 23.08.2026 Updated: 23.08.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
CVSS Score: 5.1

Product Status

Vendor EmilStenstrom
Product justhtml
Versions Default: unaffected
  • affected from 0 to 3.11.0 (excl.)
  • Version 3.11.0 is unaffected

References

Problem Types

  • Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') CWE