CVE-2026-142213

Source
https://cve.org/CVERecord?id=CVE-2026-142213
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142213.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142213
Published
2026-12-02T16:50:33Z
Modified
2026-12-02T20:45:19Z
Severity
  • 6.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
xml2js through 0.6.2 XML Injection via Builder CDATA Escaping
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-91"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142213.json"
}
References

Affected packages

Git / github.com/leonidas-from-xiv/node-xml2js

Affected ranges

Type
GIT
Repo
https://github.com/leonidas-from-xiv/node-xml2js
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "0.6.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

0.*
0.1.10
0.1.11
0.1.12
0.1.13
0.1.14
0.1.6
0.1.7
0.1.8
0.1.9
0.2.0
0.2.1
0.2.2
0.2.3
0.2.4
0.2.5
0.2.6
0.2.7
0.2.8
0.4.0
0.4.1
0.4.10
0.4.11
0.4.12
0.4.13
0.4.15
0.4.16
0.4.17
0.4.18
0.4.19
0.4.2
0.4.20
0.4.21
0.4.22
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.4.8
0.4.9
0.5.0
0.6.0
0.6.1
0.6.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142213.json"