{"answers":{"affected":"6 open source packages ship an affected version, including @xmldom/xmldom and xmldom.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-83607 exists.","fix":"Upgrade @xmldom/xmldom to a fixed version for your release line: 0.8.14 or 0.9.11.","what":"CVE-2026-83607 is a high-severity cross-site scripting vulnerability in @xmldom xmldom, published on 1 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-83607 and fix it if it is affected.\n\nWhat it is: CVE-2026-83607 is a high-severity cross-site scripting vulnerability in @xmldom xmldom, published on 1 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-83607 exists.\n\nAffected packages and fixed versions:\n- @xmldom/xmldom (npm): affected from 0.7.0; fixed in 0.8.14\n- @xmldom/xmldom (npm): affected from 0.7.0; fixed in 0.8.14\n- @xmldom/xmldom (npm): affected from 0.9.0; fixed in 0.9.11\n- @xmldom/xmldom (npm): affected from 0.9.0; fixed in 0.9.11\n- xmldom (npm): affected all versions up to 0.6.0; no fix listed\n- xmldom (npm): affected all versions up to 0.6.0; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-83607/ (Markdown: https://insights.sbomify.com/CVE-2026-83607/index.md)","id":"CVE-2026-83607","markdown":"https://insights.sbomify.com/CVE-2026-83607/index.md","name":"CVE-2026-83607","record":{"aliases":["AZL-99342","DEBIAN-CVE-2026-83607","ECHO-67f6-0b8a-4d08","GHSA-w2rr-34g9-rvrj","MINI-46pm-8445-cx5x","MINI-f54v-chrr-c33x","MINI-h8p5-9755-hp2f","MINI-wvrv-c473-c5hq","ROOT-APP-NPM-CVE-2026-83607","UBUNTU-CVE-2026-83607"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript XML library","requires_auth":"none","summary":"Attacker-controlled tag names in xmldom can inject malicious content into serialized XML, leading to cross-site scripting when consumed by browsers.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-91","name":"XML Injection"}],"description":"xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to @xmldom/xmldom versions 0.8.14 and 0.9.11, and in xmldom version 0.6.0 and earlier, Document.createElement(tagName) stores an unvalidated element name and XMLSerializer.serializeToString() emits that name verbatim. The requireWellFormed: true path did not validate the element qualified name or synthesized xmlns:PREFIX declaration, so attacker-controlled tag names could inject attributes, elements, or processing instructions into serialized XML or HTML and could cause cross-site scripting when browser-consumed. The unchecked values violate the XML QName constraint, and default serialization and creation-time createElement() behavior remain permissive. This issue is fixed in @xmldom/xmldom versions 0.8.14 and 0.9.11; no fixed version is available for xmldom.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"xmldom: Element name injection via createElement() bypasses requireWellFormed","id":"CVE-2026-83607","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":6,"n_references":7,"next":{"headline":"xmldom: DocType `name` Injection Bypasses requireWellFormed","id":"CVE-2026-83608"},"packages":[{"ecosystem":"npm","fixed":["0.8.14"],"introduced":["0.7.0"],"last_affected":[],"package":"@xmldom/xmldom","purl":null,"source":"GHSA-w2rr-34g9-rvrj"},{"ecosystem":"npm","fixed":["0.8.14"],"introduced":["0.7.0"],"last_affected":[],"package":"@xmldom/xmldom","purl":"pkg:npm/%40xmldom/xmldom","source":"GHSA-w2rr-34g9-rvrj"},{"ecosystem":"npm","fixed":["0.9.11"],"introduced":["0.9.0"],"last_affected":[],"package":"@xmldom/xmldom","purl":null,"source":"GHSA-w2rr-34g9-rvrj"},{"ecosystem":"npm","fixed":["0.9.11"],"introduced":["0.9.0"],"last_affected":[],"package":"@xmldom/xmldom","purl":"pkg:npm/%40xmldom/xmldom","source":"GHSA-w2rr-34g9-rvrj"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["0.6.0"],"package":"xmldom","purl":null,"source":"GHSA-w2rr-34g9-rvrj"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["0.6.0"],"package":"xmldom","purl":"pkg:npm/xmldom","source":"GHSA-w2rr-34g9-rvrj"}],"prev":{"headline":"xmldom PI grammar regex ReDoS: quadratic backtracking on unterminated processing instructions","id":"CVE-2026-83606"},"products":["xmldom"],"published":"2026-09-01","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-01","vendors":["@xmldom","xmldom"]},"summary":"Attacker-controlled tag names in xmldom can inject malicious content into serialized XML, leading to cross-site scripting when consumed by browsers.","url":"https://insights.sbomify.com/CVE-2026-83607/"}