XML Processing Instruction Vulnerability in xmldom by xmldom
CVE-2026-83616

8.7HIGH

Key Information:

Vendor

Xmldom

Status
Vendor
CVE Published:
1 September 2026

What is CVE-2026-83616?

The xmldom library, a pure JavaScript module for XML parsing, contains a vulnerability in the Document.createProcessingInstruction function. Earlier versions of the library fail to validate the 'target' parameter, allowing for the inclusion of invalid XML characters such as '>', '?', and whitespace. This flaw can compromise XML structure integrity, potentially leading to unwanted data inclusion or execution of malicious commands. The issue has been addressed in versions 0.8.15 and 0.9.12 of the @xmldom/xmldom package, but no fix is available for the xmldom library itself.

Affected Version(s)

xmldom <= 0.6.0

xmldom >= 0.7.0, < 0.8.15 < 0.7.0, 0.8.15

xmldom >= 0.9.0, < 0.9.12 < 0.9.0, 0.9.12

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.