XML Injection Vulnerability in Fast-XML-Parser by Natural Intelligence
CVE-2026-41650
6.1MEDIUM
What is CVE-2026-41650?
The fast-xml-parser library, utilized for processing XML from JavaScript objects, has a critical flaw prior to version 5.7.0 that fails to properly escape the '-->' sequence within comment content and the ']]>' sequence in CDATA sections. This oversight permits the injection of malicious XML content when user-controlled data is included in comments or CDATA elements. Consequently, this could lead to various attacks, including cross-site scripting (XSS), SOAP injection, or unauthorized data manipulation. Users should upgrade to version 5.7.0 or later to mitigate this vulnerability.
Affected Version(s)
fast-xml-parser < 5.7.0
