CVE-2026-92106: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in dashbitco lazy_html
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in dashbitco lazy_html allows mutation XSS via a parse and serialize round-trip of attacker-supplied HTML. LazyHTML.to_html/2 and LazyHTML.Tree.to_html/2 decide whether to escape an element's text from its tag name alone. A style or script element inside SVG or MathML foreign content is parsed with character references decoded, but is serialized as an HTML raw-text element, so its text is emitted unescaped. Encoded markup such as </style><img src=x onerror=...> inside <svg><style> therefore closes the element on re-parse and becomes live markup. Applications that parse untrusted HTML with lazy_html, filter the document or tree, and serialize it for display are affected, since the payload is a plain text node that no element or attribute filter sees. This issue affects lazy_html: from 0.1.0 before 0.1.13.
AI Analysis
Technical Summary
The vulnerability in dashbitco lazy_html (CVE-2026-92106) involves improper neutralization of input during web page generation, classified as CWE-79 (Cross-site Scripting). The functions LazyHTML.to_html/2 and LazyHTML.Tree.to_html/2 determine whether to escape element text based on tag names. However, style or script elements inside SVG or MathML foreign content are parsed with character references decoded but serialized as raw HTML text, causing text to be emitted unescaped. This allows encoded markup such as </style><img src=x onerror=...> inside <svg><style> to close the element on re-parse and become live markup. Applications that parse untrusted HTML, filter it, and serialize it for display are vulnerable because the payload is a plain text node that bypasses element or attribute filters. The affected versions are from 0.1.0 up to but not including 0.1.13.
Potential Impact
An attacker can exploit this vulnerability to perform mutation-based cross-site scripting (XSS) attacks by injecting malicious HTML that is interpreted as live markup after a parse and serialize round-trip. This can lead to execution of arbitrary scripts in the context of the affected application. The CVSS 4.0 score is 2.3, indicating a low severity impact with network attack vector, low complexity, and requiring user interaction and partial attack complexity.
Mitigation Recommendations
No explicit patch or remediation is provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, applications should avoid parsing and serializing untrusted HTML with lazy_html or implement additional filtering mechanisms that account for this mutation XSS vector. Monitor vendor communications for updates and patches.
CVE-2026-92106: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in dashbitco lazy_html
Description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in dashbitco lazy_html allows mutation XSS via a parse and serialize round-trip of attacker-supplied HTML. LazyHTML.to_html/2 and LazyHTML.Tree.to_html/2 decide whether to escape an element's text from its tag name alone. A style or script element inside SVG or MathML foreign content is parsed with character references decoded, but is serialized as an HTML raw-text element, so its text is emitted unescaped. Encoded markup such as </style><img src=x onerror=...> inside <svg><style> therefore closes the element on re-parse and becomes live markup. Applications that parse untrusted HTML with lazy_html, filter the document or tree, and serialize it for display are affected, since the payload is a plain text node that no element or attribute filter sees. This issue affects lazy_html: from 0.1.0 before 0.1.13.
CVSS v4.0
Score 2.3low
Affected software
dashbitco
lazy_html
dashbitco
lazy_html
cpe:2.3:a:dashbitco:lazy_html:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in dashbitco lazy_html (CVE-2026-92106) involves improper neutralization of input during web page generation, classified as CWE-79 (Cross-site Scripting). The functions LazyHTML.to_html/2 and LazyHTML.Tree.to_html/2 determine whether to escape element text based on tag names. However, style or script elements inside SVG or MathML foreign content are parsed with character references decoded but serialized as raw HTML text, causing text to be emitted unescaped. This allows encoded markup such as </style><img src=x onerror=...> inside <svg><style> to close the element on re-parse and become live markup. Applications that parse untrusted HTML, filter it, and serialize it for display are vulnerable because the payload is a plain text node that bypasses element or attribute filters. The affected versions are from 0.1.0 up to but not including 0.1.13.
Potential Impact
An attacker can exploit this vulnerability to perform mutation-based cross-site scripting (XSS) attacks by injecting malicious HTML that is interpreted as live markup after a parse and serialize round-trip. This can lead to execution of arbitrary scripts in the context of the affected application. The CVSS 4.0 score is 2.3, indicating a low severity impact with network attack vector, low complexity, and requiring user interaction and partial attack complexity.
Mitigation Recommendations
No explicit patch or remediation is provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, applications should avoid parsing and serializing untrusted HTML with lazy_html or implement additional filtering mechanisms that account for this mutation XSS vector. Monitor vendor communications for updates and patches.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-09-21T12:15:01.326Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ab67126f7a7c54106ca9edb
Added to database: 09/25/2026, 13:03:34 UTC
Last enriched: 09/25/2026, 13:17:43 UTC
Last updated: 09/26/2026, 02:47:19 UTC
Views: 15
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.