CVE-2026-41650

GHSA-gh4j-gqv2-49f6 · published 22 Apr 2026 · updated 18 Nov 2026

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

6.1MediumCVSS 6.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in fast-xml-parser 4.5.7 and fast-xml-parser 5.7.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
NaturalIntelligence<5.7.0
npm: fast-xml-parser<4.5.7, >=5.0.0 <5.7.04.5.7, 5.7.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in fast-xml-parser (npm), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-41650 severity on Zeptric[![CVE-2026-41650](https://zeptric.io/badge/cve/CVE-2026-41650.svg)](https://zeptric.io/cve/CVE-2026-41650)