CVE 6.1 MEDIUM

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

6.1 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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.

Basic Information

ID CVE-2026-41650
Source GitHub_M
Published May 7, 2026 at 13:36
Modified May 7, 2026 at 15:08

Affected Product

Vendor NaturalIntelligence
Product fast-xml-parser
Version < 5.7.0
Affected Versions NaturalIntelligence fast-xml-parser < 5.7.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.