Skip to content
Threat Brief

← All advisories

CVE-2026-41650

Medium 6.1No known exploitationFix available

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

Vendor advisory: GHSA-gh4j-gqv2-49f6

Record last updated

CVSS score

6.1

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.2%

Higher than 15% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

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

VendorProductAffected versionsFixed inPer
NaturalIntelligencefast-xml-parser< 5.7.0Not documentedCVE Program
npmfast-xml-parserfrom 5.0.0 before 5.7.05.7.0GitHub Advisory Database
npmfast-xml-parserall versions before 4.5.74.5.7GitHub Advisory Database

Timeline

  1. Disclosure

    CVE record published by GitHub_M

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by GitHub Advisory Database

    Source: GitHub Advisory Database (opens in a new tab)

Vendor guidance and references