CVE-2026-41650
Medium 6.1No known exploitationFix availablefast-xml-parser XMLBuilder: XML Comment and CDATA Injection via Unescaped Delimiters
Vendor advisory: GHSA-gh4j-gqv2-49f6
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 15% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-91
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| NaturalIntelligence | fast-xml-parser | < 5.7.0 | Not documented | CVE Program |
| npm | fast-xml-parser | from 5.0.0 before 5.7.0 | 5.7.0 | GitHub Advisory Database |
| npm | fast-xml-parser | all versions before 4.5.7 | 4.5.7 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- https://github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.6.0 (opens in a new tab)x_refsource_misc
- https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-gh4j-gqv2-49f6 (opens in a new tab)x_refsource_confirm
- GitHub Advisory GHSA-gh4j-gqv2-49f6 (opens in a new tab)github-advisory