6.1Medium

CVE-2026-41650fast-xml-parser XMLBuilder: XML Comment and CDATA Injection via Unescaped Delimiters

NaturalIntelligence fast-xml-parser Published: (6 months ago)

Description

fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to version 5.7.0, XMLBuilder does not escape the "-->" sequence in comment content or the "]]>" sequence in CDATA sections when building XML from JavaScript objects. This allows XML injection when user-controlled data flows into comments or CDATA elements, leading to XSS, SOAP injection, or data manipulation. This issue has been patched in version 5.7.0.

Weakness (CWE): CWE-91

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
NaturalIntelligence fast-xml-parser < 5.7.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:naturalintelligence:fast-xml-parser:*:*:*:*:*:*:*:* < 5.7.0