Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-41650 EUVD-2026-28381GHSA-gh4j-gqv2-49f6

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

Published May 7, 2026 · Updated May 7, 2026 · 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.

Affected products

VendorProductAffectedFixed
NaturalIntelligence fast-xml-parser < 5.7.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-webfont No fix yet —
Debian 13 node-webfont No fix yet —
Debian 12 node-webfont No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-webfont No fix yet —
Ubuntu 26.04 LTS node-webfont No fix yet —
Ubuntu 25.10 node-webfont No fix yet —
Ubuntu 24.04 LTS node-webfont No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed velociraptor 0.76.7.0.git145.b60ef1146-1.1 openSUSE-SU-2026:12070-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling kubeflow-pipelines-frontend 2.16.0-r19 —
Wolfi rolling langfuse-3 +1 3.164.0-r8 —
Wolfi rolling opensearch-dashboards-3 3.6.0-r3 —
Wolfi rolling prism 5.15.10-r0 —
Wolfi rolling renovate 43.170.15-r1 —
Wolfi rolling saf 1.6.0-r0 —
Wolfi rolling tileserver-gl 5.6.0-r2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm fast-xml-parser < 5.7.0 5.7.0 GHSA-gh4j-gqv2-49f6

Advisories 2

References