# CVE-2026-41650: fast-xml-parser XMLBuilder: XML Comment and CDATA Injection via Unescaped Delimiters

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-22T20:04:17.000Z
- Modified: 2026-11-18T00:45:13.731Z
- Also known as: GHSA-gh4j-gqv2-49f6
- Weaknesses: CWE-91
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- NaturalIntelligence fast-xml-parser: < 5.7.0; before 5.7.0
- fast-xml-parser (npm): from 5.0.0 before 5.7.0; before 4.5.7

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-gh4j-gqv2-49f6> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.6.0> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41650> (advisory)
- <https://github.com/NaturalIntelligence/fast-xml-parser/commit/e561c2188607a108a9a8d9b6428902a28aad8fb0> (web)
- <https://github.com/NaturalIntelligence/fast-xml-parser> (package)

## Sources

- CVE List: [CVE-2026-41650](https://www.cve.org/CVERecord?id=CVE-2026-41650), CVE Terms of Use, modified 2026-05-07
- GitHub Advisory Database: [GHSA-gh4j-gqv2-49f6](https://github.com/advisories/GHSA-gh4j-gqv2-49f6), CC-BY-4.0, modified 2026-11-18
- NVD: [CVE-2026-41650](https://nvd.nist.gov/vuln/detail/CVE-2026-41650), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-41650 · Whole record: https://cve.day/CVE-2026-41650.json · Rebuilt by cve.day 2026-11-25T22:59:20.886Z
