{"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-83605 exists.","fix":"Upgrade @xmldom/xmldom to a fixed version for your release line: 0.8.14 or 0.9.11.","what":"CVE-2026-83605 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-83605 and fix it if it is affected.\n\nWhat it is: CVE-2026-83605 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-83605 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-83605/ (Markdown: https://insights.sbomify.com/CVE-2026-83605/index.md)","id":"CVE-2026-83605","markdown":"https://insights.sbomify.com/CVE-2026-83605/index.md","name":"CVE-2026-83605","record":{"aliases":["AZL-99347","CLSA-2026-1790458285","DEBIAN-CVE-2026-83605","ECHO-f69a-fdb4-9b18","GHSA-4w3w-2rp5-g8jm","MINI-542c-29pm-69hv","MINI-7g94-jhvj-xwvx","MINI-c8v8-88xr-ghvv","MINI-f7j3-wfhf-9c4q","ROOT-APP-NPM-CVE-2026-83605","ROOT-APP-NPM-GHSA-4w3w-2rp5-g8jm","UBUNTU-CVE-2026-83605"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript XML DOM library","requires_auth":"none","summary":"Attackers can inject malicious attributes into XML output via setAttribute, leading to XSS in browser-consumed content.","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, Element.setAttribute() calls the private _createAttribute(name) path without validating the attribute name, while Document.createAttribute(name) validates against QName. XMLSerializer.serializeToString() emits attribute names verbatim, and requireWellFormed: true did not validate them, so a crafted name can terminate the intended attribute and inject additional attributes, including event handlers, into browser-consumed output; synthesized xmlns:PREFIX declarations expose the same unchecked-name boundary. 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: Attribute name injection via setAttribute() bypasses requireWellFormed","id":"CVE-2026-83605","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 PI grammar regex ReDoS: quadratic backtracking on unterminated processing instructions","id":"CVE-2026-83606"},"packages":[{"ecosystem":"npm","fixed":["0.8.14"],"introduced":["0.7.0"],"last_affected":[],"package":"@xmldom/xmldom","purl":null,"source":"GHSA-4w3w-2rp5-g8jm"},{"ecosystem":"npm","fixed":["0.8.14"],"introduced":["0.7.0"],"last_affected":[],"package":"@xmldom/xmldom","purl":"pkg:npm/%40xmldom/xmldom","source":"GHSA-4w3w-2rp5-g8jm"},{"ecosystem":"npm","fixed":["0.9.11"],"introduced":["0.9.0"],"last_affected":[],"package":"@xmldom/xmldom","purl":null,"source":"GHSA-4w3w-2rp5-g8jm"},{"ecosystem":"npm","fixed":["0.9.11"],"introduced":["0.9.0"],"last_affected":[],"package":"@xmldom/xmldom","purl":"pkg:npm/%40xmldom/xmldom","source":"GHSA-4w3w-2rp5-g8jm"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["0.6.0"],"package":"xmldom","purl":null,"source":"GHSA-4w3w-2rp5-g8jm"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["0.6.0"],"package":"xmldom","purl":"pkg:npm/xmldom","source":"GHSA-4w3w-2rp5-g8jm"}],"prev":{"headline":"Netdata: Local Root via ndsudo Arbitrary socket_path → fail2ban-client Pickle RCE","id":"CVE-2026-83603"},"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-03","vendors":["@xmldom","xmldom"]},"summary":"Attackers can inject malicious attributes into XML output via setAttribute, leading to XSS in browser-consumed content.","url":"https://insights.sbomify.com/CVE-2026-83605/"}