Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-44664 EUVD-2026-30052GHSA-45c6-75p6-83cc

fast-xml-builder: Comment Value bypass regex

Published May 13, 2026 · Updated May 13, 2026 · Assigned by GitHub_M

Description

fast-xml-builder builds XML from JSON. In 1.1.5, the fix for CVE-2026-41650 in fast-xml-parser sanitizes -- sequences in XML comment content using .replace(/--/g, '- -'). This skip the values containing three consecutive dashes (e.g., --->...), allowing an attacker to break out of an XML comment and inject arbitrary XML/HTML content. This vulnerability is fixed in 1.1.6.

Affected products

VendorProductAffectedFixed
NaturalIntelligence fast-xml-builder 1.1.5 —

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.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling renovate 43.170.12-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm fast-xml-builder >= 1.1.5, < 1.1.6 1.1.6 GHSA-45c6-75p6-83cc

References