{"answers":{"affected":"2 open source packages ship an affected version, including fast-xml-parser. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-41650 exists.","fix":"Upgrade fast-xml-parser to 5.7.0 or later.","what":"CVE-2026-41650 is a medium-severity cross-site scripting vulnerability in NaturalIntelligence fast-xml-parser, published on 7 May 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-41650 and fix it if it is affected.\n\nWhat it is: CVE-2026-41650 is a medium-severity cross-site scripting vulnerability in NaturalIntelligence fast-xml-parser, published on 7 May 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-41650 exists.\n\nAffected packages and fixed versions:\n- fast-xml-parser (npm): affected all versions; fixed in 5.7.0\n- fast-xml-parser (npm): affected all versions; fixed in 5.7.0\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-41650/ (Markdown: https://insights.sbomify.com/CVE-2026-41650/index.md)","id":"CVE-2026-41650","markdown":"https://insights.sbomify.com/CVE-2026-41650/index.md","name":"CVE-2026-41650","record":{"aliases":["CLEANSTART-2026-CK33786","CLEANSTART-2026-NG55070","CLSA-2026-1777336754","CLSA-2026-1786525960","DEBIAN-CVE-2026-41650","ECHO-c4c5-a42c-d4a0","GHSA-gh4j-gqv2-49f6","MINI-346f-63mg-9972","MINI-34mg-j2m8-gf2w","MINI-3gj4-397q-r472","MINI-6rq5-r6ch-6f7m","MINI-74fm-p2qp-m8x7","MINI-7fcc-v7rg-3cmg","MINI-8m7g-fq2w-69w8","MINI-972j-f2mh-cc73","MINI-cm88-349c-hjc9","MINI-g7rx-fh3f-vpmx","MINI-hvmq-jgj4-wjww","MINI-jr4m-v73f-wm6x","MINI-pgv7-c8x8-8vrg","MINI-pm72-h8xc-jf24","MINI-r54c-q577-9q3p","MINI-rffm-3hgj-q33p","MINI-w2ch-fj3r-wq5f","MINI-xx2m-j3rw-88cp","ROOT-APP-NPM-CVE-2026-41650","UBUNTU-CVE-2026-41650"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript XML parser","requires_auth":"none","summary":"Attackers can inject malicious XML comments or CDATA sections via unescaped delimiters, potentially leading to XSS or data manipulation in applications using fast-xml-parser.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"fast-xml-parser","vendor":"naturalintelligence"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-91","name":"XML Injection"}],"description":"fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to version 5.7.0, XMLBuilder does not escape the \"--\u003e\" sequence in comment content or the \"]]\u003e\" sequence in CDATA sections when building XML from JavaScript objects. This allows XML injection when user-controlled data flows into comments or CDATA elements, leading to XSS, SOAP injection, or data manipulation. This issue has been patched in version 5.7.0.","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":"fast-xml-parser XMLBuilder: XML Comment and CDATA Injection via Unescaped Delimiters","id":"CVE-2026-41650","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"PackageKit vulnerable to TOCTOU Race on Transaction Flags leads to arbitrary package installation as root","id":"CVE-2026-41651"},"packages":[{"ecosystem":"npm","fixed":["5.7.0"],"introduced":["0"],"last_affected":[],"package":"fast-xml-parser","purl":null,"source":"GHSA-gh4j-gqv2-49f6"},{"ecosystem":"npm","fixed":["5.7.0"],"introduced":["0"],"last_affected":[],"package":"fast-xml-parser","purl":"pkg:npm/fast-xml-parser","source":"GHSA-gh4j-gqv2-49f6"}],"prev":{"headline":"Outline has IDOR in document share creation that allows unauthorized access to private documents across workspaces","id":"CVE-2026-41649"},"products":["fast-xml-parser"],"published":"2026-05-07","related":[{"cvss_score":9.3,"headline":"fast-xml-parser has an entity encoding bypass via regex injection in DOCTYPE entity names","id":"CVE-2026-25896","kev_date_added":null,"published":"2026-02-20"},{"cvss_score":7.5,"headline":"fast-xml-parser affected by numeric entity expansion bypassing all entity expansion limits (incomplete fix for CVE-2026-26278)","id":"CVE-2026-33036","kev_date_added":null,"published":"2026-03-20"},{"cvss_score":7.5,"headline":"fast-xml-parser affected by DoS through entity expansion in DOCTYPE (no expansion limit)","id":"CVE-2026-26278","kev_date_added":null,"published":"2026-02-19"},{"cvss_score":7.5,"headline":"fast-xml-parser has RangeError DoS Numeric Entities Bug","id":"CVE-2026-25128","kev_date_added":null,"published":"2026-01-30"},{"cvss_score":7.5,"headline":"ReDOS at currency parsing fast-xml-parser","id":"CVE-2024-41818","kev_date_added":null,"published":"2024-07-29"},{"cvss_score":7.5,"headline":"Regex Injection via Doctype Entities","id":"CVE-2023-34104","kev_date_added":null,"published":"2023-06-06"}],"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":"US public information, NVD API terms","name":"NVD"},{"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-05-07","vendors":["NaturalIntelligence"]},"summary":"Attackers can inject malicious XML comments or CDATA sections via unescaped delimiters, potentially leading to XSS or data manipulation in applications using fast-xml-parser.","url":"https://insights.sbomify.com/CVE-2026-41650/"}