{"answers":{"affected":"2 open source packages ship an affected version, including dompurify.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-109345 exists.","fix":"Upgrade dompurify to 3.4.16 or later.","what":"CVE-2026-109345 is a medium-severity cross-site scripting vulnerability in cure53 DOMPurify, published on 12 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-109345 and fix it if it is affected.\n\nWhat it is: CVE-2026-109345 is a medium-severity cross-site scripting vulnerability in cure53 DOMPurify, published on 12 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-109345 exists.\n\nAffected packages and fixed versions:\n- dompurify (npm): affected all versions; fixed in 3.4.16\n- dompurify (npm): affected all versions; fixed in 3.4.16\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-109345/ (Markdown: https://insights.sbomify.com/CVE-2026-109345/index.md)","id":"CVE-2026-109345","markdown":"https://insights.sbomify.com/CVE-2026-109345/index.md","name":"CVE-2026-109345","record":{"aliases":["CLSA-2026-1791626851","CLSA-2026-1791626965","CLSA-2026-1791627235","CLSA-2026-1791627414","CLSA-2026-1791627570","CLSA-2026-1791627799","CLSA-2026-1791667159","CLSA-2026-1791667324","CLSA-2026-1791668940","CLSA-2026-1791795543","CLSA-2026-1791795654","CLSA-2026-1791798632","CLSA-2026-1791798802","CLSA-2026-1791799053","CLSA-2026-1791806404","CLSA-2026-1791806518","CLSA-2026-1791806624","CLSA-2026-1791814922","CLSA-2026-1791821318","CLSA-2026-1791821442","CLSA-2026-1791825519","CLSA-2026-1791846572","CLSA-2026-1791849675","CLSA-2026-1791888656","CLSA-2026-1791908220","CLSA-2026-1791988201","CLSA-2026-1792001523","CLSA-2026-1792155744","CLSA-2026-1792231043","DEBIAN-CVE-2026-109345","ECHO-f9c7-e65b-f387","GHSA-6688-9rhm-gjv2","GHSA-cjhx-p48c-gfm9","MINI-248w-5xcg-26h7","MINI-3xfp-28v3-fc6h","MINI-4hfm-m7xg-x8wh","MINI-63rc-2q5v-7cvq","MINI-7838-7wq3-9crc","MINI-8666-2wp6-pqmj","MINI-9cp3-mv5c-4fgw","MINI-cqx6-x296-9862","MINI-fj9f-3xpr-m8hc","MINI-jg9p-hhw3-3q83","MINI-jp6f-qv5p-75c4","MINI-r23j-3qh8-pqmq","UBUNTU-CVE-2026-109345"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"JavaScript sanitization library","requires_auth":"none","summary":"Attackers can bypass sanitization in DOMPurify's IN_PLACE mode to execute arbitrary scripts via crafted style elements, affecting applications using this library.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":5.1,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"DOMPurify before 3.4.16 contains a cross-site scripting vulnerability that allows attackers to bypass sanitization because IN_PLACE mode returns a force-removed style element whose text content still carries markup. Attackers can supply a style element containing a closing style tag and an img onerror payload, which executes script when the application serializes and re-parses the returned node.","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":"DOMPurify before 3.4.16 XSS via IN_PLACE Returned Rawtext Root","id":"CVE-2026-109345","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"better-auth 1.3.8-beta.3 before 1.7.0-rc.3 Device Authorization Phishing via /device","id":"CVE-2026-109346"},"packages":[{"ecosystem":"npm","fixed":["3.4.16"],"introduced":["0"],"last_affected":[],"package":"dompurify","purl":null,"source":"GHSA-6688-9rhm-gjv2"},{"ecosystem":"npm","fixed":["3.4.16"],"introduced":["0"],"last_affected":[],"package":"dompurify","purl":"pkg:npm/dompurify","source":"GHSA-6688-9rhm-gjv2"}],"prev":{"headline":"DOMPurify from 3.4.13 before 3.4.16 DOM XSS via IN_PLACE afterSanitize Hooks","id":"CVE-2026-109344"},"products":["DOMPurify"],"published":"2026-10-12","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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-13","vendors":["cure53"]},"summary":"Attackers can bypass sanitization in DOMPurify's IN_PLACE mode to execute arbitrary scripts via crafted style elements, affecting applications using this library.","url":"https://insights.sbomify.com/CVE-2026-109345/"}