Skip to content
OpenAdvisories
Low · 3.7 CVE-2026-142213 EUVD-2026-141617GHSA-rqv5-mfjj-pgfr

xml2js through 0.6.2 XML Injection via Builder CDATA Escaping

Published Dec 2, 2026 · Updated Dec 2, 2026 · Assigned by VulnCheck

Description

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.

Affected products

VendorProductAffectedFixed
Leonidas-from-XIV xml2js ≤ 0.6.2 —

References