Skip to main content
EPSS 0.3%top 81%

CVE-2026-74793: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in EmilStenstrom justhtml

0
Medium
VulnerabilityCVE-2026-74793cvecve-2026-74793
Published: 08/23/2026 (08/23/2026, 13:34:11 UTC)
Source: CVE Database V5
Vendor/Project: EmilStenstrom
Product: justhtml

Description

justhtml versions before 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.

CVSS v4.0

Score 5.1medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
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

Affected software

EmilStenstrom

justhtml

Affected versions
>=0 <3.11.0
GitHub Actionsmore threats →ai
emilstenstrom/justhtml
pkg:github/emilstenstrom/justhtml
Affected versions
<3.11.0

Run 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

AILast updated: 09/10/2026, 23:19:09 UTC

Technical Analysis

CVE-2026-74793 describes a cross-site scripting vulnerability in EmilStenstrom justhtml prior to version 3.11.0. The vulnerability 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, which are cloned and reinserted into the output without proper sanitization. This flaw allows for stored or reflected XSS attacks, potentially leading to script execution in the context of the affected web application.

Potential Impact

Successful exploitation of this vulnerability allows attackers to execute arbitrary scripts in the context of users viewing the affected web pages. This can lead to session hijacking, defacement, or other malicious actions typical of cross-site scripting attacks. The CVSS 4.0 base score is 5.1, indicating a medium severity impact with network attack vector, low attack complexity, no privileges required, and user interaction needed.

Mitigation Recommendations

No explicit patch or remediation details are provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider disabling or restricting usage of the affected sanitizer features or avoid processing untrusted input that could include SVG or MathML elements with event handlers.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-08-16T12:59:42.222Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a8afb27acd9273b49f5f729

Added to database: 08/23/2026, 13:52:39 UTC

Last enriched: 09/10/2026, 23:19:09 UTC

Last updated: 10/06/2026, 06:48:20 UTC

Views: 72

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses