Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @xmldom/xmldom
  4. ›
  5. CVE-2026-41675

CVE-2026-41675: xmldom has XML node injection through unvalidated processing instruction serialization

April 22, 2026 (updated May 8, 2026)

The package allows attacker-controlled processing instruction data to be serialized into XML without validating or neutralizing the PI-closing sequence ?>. As a result, an attacker can terminate the processing instruction early and inject arbitrary XML nodes into the serialized output.


References

  • github.com/advisories/GHSA-x6wf-f3px-wcqx
  • github.com/xmldom/xmldom/commit/7207a4b0e0bcc228868075ed991665ef9f73b1c2
  • github.com/xmldom/xmldom/releases/tag/0.8.13
  • github.com/xmldom/xmldom/releases/tag/0.9.10
  • github.com/xmldom/xmldom/security/advisories/GHSA-x6wf-f3px-wcqx
  • nvd.nist.gov/vuln/detail/CVE-2026-41675

Code Behaviors & Features

Detect and mitigate CVE-2026-41675 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.8.13, all versions starting from 0.9.0 before 0.9.10

Fixed versions

  • 0.8.13
  • 0.9.10

Solution

Upgrade to versions 0.8.13, 0.9.10 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-91: XML Injection (aka Blind XPath Injection)

Source file

npm/@xmldom/xmldom/CVE-2026-41675.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:54 +0000.