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

CVE-2026-83616: xmldom: Processing Instruction Target Injection Bypasses requireWellFormed

September 8, 2026

Document.createProcessingInstruction() in @xmldom/xmldom performs no validation on the target parameter. The requireWellFormed: true serializer option validates only for : in the target and a case-insensitive xml prefix, but does not check for > characters. A > in the target breaks the processing instruction boundary (<?...?>), allowing injection of arbitrary content into the serialized XML output.

References

  • github.com/advisories/GHSA-c7q8-3ch8-vqpv
  • github.com/xmldom/xmldom/commit/1cde3e31a07c41c87cfd368d6946aa477f16b4f9
  • github.com/xmldom/xmldom/commit/3b694872bcb5c7e3cbadba961a4be2488750ce5b
  • github.com/xmldom/xmldom/pull/1071
  • github.com/xmldom/xmldom/pull/1072
  • github.com/xmldom/xmldom/releases/tag/0.8.15
  • github.com/xmldom/xmldom/releases/tag/0.9.12
  • github.com/xmldom/xmldom/security/advisories/GHSA-c7q8-3ch8-vqpv
  • nvd.nist.gov/vuln/detail/CVE-2026-83616

Code Behaviors & Features

Detect and mitigate CVE-2026-83616 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 starting from 0.7.0 before 0.8.15, all versions starting from 0.9.0 before 0.9.12

Fixed versions

  • 0.8.15
  • 0.9.12

Solution

Upgrade to versions 0.8.15, 0.9.12 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-83616.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:36 +0000.