{"containers":{"cna":{"affected":[{"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:dashbitco:lazy_html:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.LazyHTML.Tree'","'Elixir.LazyHTML'","'Elixir.LazyHTML.NIF'"],"packageName":"lazy_html","packageURL":"pkg:hex/lazy_html","product":"lazy_html","programFiles":["lib/lazy_html/tree.ex","lib/lazy_html.ex","c_src/lazy_html.cpp"],"programRoutines":[{"name":"'Elixir.LazyHTML.Tree':to_html/2"},{"name":"'Elixir.LazyHTML':to_html/2"},{"name":"is_noescape_text_node"}],"repo":"https://github.com/dashbitco/lazy_html","vendor":"dashbitco","versions":[{"lessThan":"0.1.13","status":"affected","version":"0.1.0","versionType":"semver"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:dashbitco:lazy_html:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.LazyHTML.Tree'","'Elixir.LazyHTML'","'Elixir.LazyHTML.NIF'"],"packageName":"dashbitco/lazy_html","packageURL":"pkg:github/dashbitco/lazy_html","product":"lazy_html","programFiles":["lib/lazy_html/tree.ex","lib/lazy_html.ex","c_src/lazy_html.cpp"],"programRoutines":[{"name":"'Elixir.LazyHTML.Tree':to_html/2"},{"name":"'Elixir.LazyHTML':to_html/2"},{"name":"is_noescape_text_node"}],"repo":"https://github.com/dashbitco/lazy_html","vendor":"dashbitco","versions":[{"lessThan":"f32c7fd6223225b68bc8691c78b6d4a77972f1d5","status":"affected","version":"1dee15746c024916b3110af8b168c2f3b3065fbd","versionType":"git"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:dashbitco:lazy_html:*:*:*:*:*:*:*:*","versionEndExcluding":"0.1.13","versionStartIncluding":"0.1.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"reporter","value":"Peter Ullrich"},{"lang":"en","type":"remediation developer","value":"Jonatan Kłosko"},{"lang":"en","type":"analyst","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"analyst","value":"José Valim"}],"dateAssigned":"2026-09-24T13:39:50.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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.</p>\n<p><code>LazyHTML.to_html/2</code> and <code>LazyHTML.Tree.to_html/2</code> decide whether to escape an element's text from its tag name alone. A <code>style</code> or <code>script</code> 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 <code>&amp;lt;/style&amp;gt;&amp;lt;img src=x onerror=...&amp;gt;</code> inside <code>&lt;svg&gt;&lt;style&gt;</code> 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.</p>\n<p>This issue affects lazy_html: from 0.1.0 before 0.1.13.</p>"},{"base64":false,"type":"text/markdown","value":"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.\n\n`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 `&lt;/style&gt;&lt;img src=x onerror=...&gt;` 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.\n\nThis issue affects lazy_html: from 0.1.0 before 0.1.13."}],"value":"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.\n\nLazyHTML.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 &lt;/style&gt;&lt;img src=x onerror=...&gt; 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.\n\nThis issue affects lazy_html: from 0.1.0 before 0.1.13."}],"impacts":[{"capecId":"CAPEC-63","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>An attacker who can submit HTML to an application that sanitizes it with lazy_html can run script in the browsers of users who view the sanitized output.</p>"},{"base64":false,"type":"text/markdown","value":"An attacker who can submit HTML to an application that sanitizes it with lazy_html can run script in the browsers of users who view the sanitized output."}],"value":"An attacker who can submit HTML to an application that sanitizes it with lazy_html can run script in the browsers of users who view the sanitized output."}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":2.3,"baseSeverity":"LOW","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","userInteraction":"PASSIVE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-09-25T09:33:13.051Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"name":"GitHub Advisory","tags":["related","vendor-advisory"],"url":"https://github.com/dashbitco/lazy_html/security/advisories/GHSA-8rqp-v692-v82q"},{"name":"EEF CNA record for CVE-2026-92106","tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-92106.html"},{"name":"OSV record EEF-CVE-2026-92106","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-92106"},{"name":"Introducing commit 1dee157 in dashbitco/lazy_html","tags":["related"],"url":"https://github.com/dashbitco/lazy_html/commit/1dee15746c024916b3110af8b168c2f3b3065fbd"},{"name":"Fix commit f32c7fd in dashbitco/lazy_html","tags":["patch"],"url":"https://github.com/dashbitco/lazy_html/commit/f32c7fd6223225b68bc8691c78b6d4a77972f1d5"}],"source":{"discovery":"EXTERNAL"},"title":"lazy_html serializes SVG and MathML style and script text unescaped, allowing mutation XSS"}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-92106","datePublished":"2026-09-25T09:33:13.051Z","dateReserved":"2026-09-21T12:15:01.326Z","dateUpdated":"2026-09-25T09:33:13.051Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}