Security mailing lists by PureSourceCode

CVE-2026-41650

MEDIUM 6.1CVSS 3.1

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

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.

Published
7 May 2026
Last modified
18 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-91
Also known as
GHSA-gh4j-gqv2-49f6
Sources
NVDJSONOSV GHSA-gh4j-gqv2-49f6JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) 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
OSV GitHub 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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD naturalintelligence fast-xml-parser
cpe:2.3:a:naturalintelligence:fast-xml-parser:*:*:*:*:*:*:*:*
< 5.7.0 5.7.0
OSV npm fast-xml-parser >= 5.0.0, < 5.7.0 5.7.0
OSV npm fast-xml-parser < 4.5.7 4.5.7

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 7 May 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.