CVE-2026-74793
JSON

5.1medium

justhtml before 3.11.0 XSS via selectedcontent projection

Severity
5.1medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.29% (higher than 14% of CVEs)
Published
Last changed
Assigned by
VulnCheck

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

Product or packageVersionsReported by
EmilStenstrom justhtmlbefore 3.11.0
Not affected: 3.11.0
CVE List

All scores

VulnCheck5.1medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
VulnCheck6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

justhtml anterior a la versión 3.11.0 contiene una vulnerabilidad de cross-site scripting donde el saneador predeterminado omite la eliminación de gestores de eventos en proyecciones de contenido seleccionado. Los atacantes pueden inyectar elementos SVG o MathML con gestores de eventos que son clonados y reinsertados en la salida sin saneamiento, lo que permite ataques XSS almacenados o reflejados.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-74793 changed 2026-08-24CVE Terms of Use
NVDCVE-2026-74793 changed 2026-10-12Public domain