CVE-2026-41650

Medium

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductNaturalintelligence Fast-xml-parser
PublishedMay 7, 2026
First seenMay 7, 2026
Weakness typeCWE-91CWE-91

How to fix

Update
  • naturalintelligence fast-xml-parser5.7.0 or later
  • fast-xml-parser5.7.0 or later

Affected products

ProductAffected versionsFixed in
naturalintelligence fast-xml-parserv < 5.7.05.7.0
fast-xml-parsernpmv < 5.7.05.7.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.