6.1Medium

CVE-2026-44664fast-xml-builder: Comment Value bypass regex

NaturalIntelligence fast-xml-builder Published: (6 months ago)

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.

Weakness (CWE): CWE-91

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
NaturalIntelligence fast-xml-builder 1.1.5

References and patches