PT-2026-84282 · Npm · Xmldom

CVE-2026-83618

·

Published

2026-08-22

·

Updated

2026-09-08

CVSS v4.0

8.7

High

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Name of the Vulnerable Software and Affected Versions xmldom versions 0.9.10 through 0.9.11
Description The requireWellFormed: true serializer validates DocumentType.publicId and DocumentType.systemId using PubidLiteral match and SystemLiteral match expressions produced by the reg() function in lib/grammar.js. Because these expressions inherit the multiline flag, a valid literal on the first line can satisfy the matcher while allowing line terminator characters (U+000A, U+000D, U+2028, or U+2029) and breakout markup to remain in the emitted <!DOCTYPE ...> declaration. This behavior bypasses the strict-serialization mitigation intended to prevent DocumentType injection. Note that creation and direct property assignment remain unvalidated by design.
Recommendations Update to @xmldom/xmldom version 0.9.12.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-13729
CVE-2026-83618
GHSA-VR34-HP96-76PP

Affected Products

Xmldom