fast-xml-parser XMLBuilder: XML Comment and CDATA Injection via Unescaped Delimiters (NaturalIntelligence fast-xml-parser)
En bref
- Source
- NVD
- EPSS
- EPSS 0.24 % · centile 15 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Statut NVD
- Analyzed
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.
Faiblesses (CWE)
- CWE-91 — Injection XML
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | GitHub_M |
| CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD · security-advisories@github.com (Secondary) |
Avis
- GHSA-gh4j-gqv2-49f6 — fast-xml-parser XMLBuilder: XML Comment and CDATA Injection via Unescaped Delimiters
Références européennes
- ENISA EUVD · EUVD-2026-28381
- GCVE · GCVE-0-2026-41650
Configurations affectées (CPE NVD)
cpe:2.3:a:naturalintelligence:fast-xml-parser:*:*:*:*:*:*:*:*< 5.7.0
Produits affectés
| Produit | Versions |
|---|---|
| NaturalIntelligence · fast-xml-parser | affected < 5.7.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |