CVE-2026-74793: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in EmilStenstrom justhtml
justhtml versions prior to 3.11.0 contain a cross-site scripting (XSS) vulnerability due to improper input neutralization during web page generation. The default sanitizer fails to remove event handlers in selectedcontent projections, allowing attackers to inject SVG or MathML elements with event handlers that are cloned and reinserted without sanitization. This enables stored or reflected XSS attacks. The vulnerability has a medium severity with a CVSS score of 5.1. No patch or official remediation has been confirmed yet.
AI Analysis
Technical Summary
CVE-2026-74793 describes a cross-site scripting vulnerability in EmilStenstrom's justhtml software before version 3.11.0. The issue arises because the default sanitizer bypasses removal of event handlers in selectedcontent projections. Attackers can exploit this by injecting SVG or MathML elements containing event handlers that are cloned and reinserted into the output without proper sanitization, leading to stored or reflected XSS attacks. This vulnerability allows execution of arbitrary scripts in the context of the affected web application.
Potential Impact
Successful exploitation of this vulnerability can lead to execution of arbitrary scripts in users' browsers, potentially resulting in session hijacking, defacement, or redirection to malicious sites. The CVSS score of 5.1 indicates a medium severity impact. There is no indication of known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider applying additional input sanitization or filtering measures to mitigate injection of malicious SVG or MathML elements with event handlers. Monitor vendor communications for updates on patches or official mitigations.
CVE-2026-74793: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in EmilStenstrom justhtml
Description
justhtml versions prior to 3.11.0 contain a cross-site scripting (XSS) vulnerability due to improper input neutralization during web page generation. The default sanitizer fails to remove event handlers in selectedcontent projections, allowing attackers to inject SVG or MathML elements with event handlers that are cloned and reinserted without sanitization. This enables stored or reflected XSS attacks. The vulnerability has a medium severity with a CVSS score of 5.1. No patch or official remediation has been confirmed yet.
CVSS v4.0
Score 5.1medium
Affected software
pkg:github/emilstenstrom/justhtmlRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-74793 describes a cross-site scripting vulnerability in EmilStenstrom's justhtml software before version 3.11.0. The issue arises because the default sanitizer bypasses removal of event handlers in selectedcontent projections. Attackers can exploit this by injecting SVG or MathML elements containing event handlers that are cloned and reinserted into the output without proper sanitization, leading to stored or reflected XSS attacks. This vulnerability allows execution of arbitrary scripts in the context of the affected web application.
Potential Impact
Successful exploitation of this vulnerability can lead to execution of arbitrary scripts in users' browsers, potentially resulting in session hijacking, defacement, or redirection to malicious sites. The CVSS score of 5.1 indicates a medium severity impact. There is no indication of known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider applying additional input sanitization or filtering measures to mitigate injection of malicious SVG or MathML elements with event handlers. Monitor vendor communications for updates on patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-16T12:59:42.222Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a8afb27acd9273b49f5f729
Added to database: 08/23/2026, 13:52:39 UTC
Last enriched: 08/23/2026, 14:07:46 UTC
Last updated: 08/23/2026, 14:57:18 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.