{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-92106","id":"CVE-2026-92106","title":"lazy_html serializes SVG and MathML style and script text unescaped, allowing mutation XSS","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.\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 ","descriptionLong":"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.","published":"2026-09-25T09:33:13.051Z","updated":"2026-11-19T10:00:35.413235103Z","reserved":"2026-09-21T12:15:01.326Z","status":"Deferred","rejected":false,"assigner":"EEF","metric":{"version":"4.0","score":2.3,"vector":"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","rating":"low","source":"EEF"},"metrics":[{"version":"4.0","score":2.3,"vector":"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","rating":"low","source":"EEF"},{"version":"4.0","score":2.3,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"low","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"}],"rating":"low","products":["dashbitco lazy_html"],"affectedProducts":[{"vendor":"dashbitco","product":"lazy_html","defaultStatus":"unaffected","versions":[{"lessThan":"0.1.13","status":"affected","version":"0.1.0","versionType":"semver"}],"platforms":[]},{"vendor":"dashbitco","product":"lazy_html","defaultStatus":"unaffected","versions":[{"lessThan":"f32c7fd6223225b68bc8691c78b6d4a77972f1d5","status":"affected","version":"1dee15746c024916b3110af8b168c2f3b3065fbd","versionType":"git"}],"platforms":[]}],"packages":[],"cwes":["CWE-79"],"aliases":["EEF-CVE-2026-92106","GHSA-8rqp-v692-v82q"],"references":[{"url":"https://github.com/dashbitco/lazy_html/security/advisories/GHSA-8rqp-v692-v82q","tags":["related","vendor-advisory","advisory"]},{"url":"https://cna.erlef.org/cves/CVE-2026-92106.html","tags":["related","web"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-92106","tags":["related","web"]},{"url":"https://github.com/dashbitco/lazy_html/commit/1dee15746c024916b3110af8b168c2f3b3065fbd","tags":["related","fix"]},{"url":"https://github.com/dashbitco/lazy_html/commit/f32c7fd6223225b68bc8691c78b6d4a77972f1d5","tags":["patch","fix"]},{"url":"https://github.com","tags":["web"]},{"url":"https://repo.hex.pm","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92106.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92106","tags":["advisory"]},{"url":"https://github.com/dashbitco/lazy_html","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00394,"epssPercentile":0.34394,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-92106","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92106","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-92106","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-92106","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}