CVE-2026-142213

CVE-2026-142213CVE-2026-142213

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.

Scoring

CVSS 3.7 ()
VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Last modified2026-12-02
Sourced from NVD. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.