xml2js through 0.6.2 contains an XML injection vulnerability that allows attackers to break out of CDATA sections because escapeCDATA() in lib/builder.js only escapes the first ]]> sequence. Attackers controlling string values serialized with the cdata option can include a second ]]> to inject arbitrary elements and attributes, altering downstream XML parsing.
References
Configurations
No configuration.
History
02 Dec 2026, 17:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-12-02 17:17
Updated : 2026-12-02 20:20
NVD link : CVE-2026-142213
Mitre link : CVE-2026-142213
CVE.ORG link : CVE-2026-142213
JSON object : View
Products Affected
No product.
CWE
CWE-91
XML Injection (aka Blind XPath Injection)
