Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-41650: CWE-91: XML Injection (aka Blind XPath Injection) in NaturalIntelligence fast-xml-parser

0
Medium
VulnerabilityCVE-2026-41650cvecve-2026-41650cwe-91
Published: Thu May 07 2026 (05/07/2026, 13:36:55 UTC)
Source: CVE Database V5
Vendor/Project: NaturalIntelligence
Product: fast-xml-parser

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/07/2026, 14:52:57 UTC

Technical Analysis

The fast-xml-parser library before version 5.7.0 fails to escape certain character sequences in XML comments and CDATA sections when building XML from JavaScript objects. Specifically, the sequences "-->" in comments and "]]>" in CDATA are not escaped, enabling XML injection attacks. This vulnerability is classified as CWE-91 (XML Injection) and can be exploited when untrusted input is processed into XML comments or CDATA, potentially resulting in XSS, SOAP injection, or unauthorized data manipulation. The issue was fixed in version 5.7.0.

Potential Impact

Exploitation of this vulnerability can lead to injection of malicious XML content, which may cause cross-site scripting (XSS), SOAP injection, or manipulation of data processed by applications using the affected library. The CVSS score of 6.1 (medium severity) reflects the network attack vector, low attack complexity, no privileges required, but user interaction needed, and partial impact on confidentiality and integrity without affecting availability.

Mitigation Recommendations

Users should upgrade fast-xml-parser to version 5.7.0 or later, where this vulnerability has been fixed by properly escaping the problematic sequences in XML comments and CDATA sections. No other mitigations are indicated or necessary once the patch is applied.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-21T23:58:43.802Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69fca37ecbff5d8610fd579f

Added to database: 5/7/2026, 2:36:46 PM

Last enriched: 5/7/2026, 2:52:57 PM

Last updated: 5/8/2026, 10:32:44 PM

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses