Skip to main content
← All vulnerabilities
CVE-2026-41650GHSA-GH4J-GQV2-49F6

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.7.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • NaturalIntelligence fast-xml-parser

    fixed in 5.7.0

  • fast-xml-parsernpm

    fixed in 5.7.0

References 2

GitHub · NaturalIntelligence/fast-xml-parser