PT-2026-39286 · Npm · Fast-Xml-Builder

CVE-2026-44664

·

Published

2026-05-08

·

Updated

2026-06-09

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions fast-xml-builder version 1.1.5
Description An issue exists where the sanitization of -- sequences in XML comment content is insufficient. The use of .replace(/--/g, '- -') fails to handle values containing three consecutive dashes (e.g., --->...), which allows an attacker to break out of an XML comment and inject arbitrary XML or HTML content, such as JavaScript script tags, into the output when the comment property is enabled.
Recommendations Update to version 1.1.6. As a temporary workaround, externally check for the presence of three consecutive dashes in the property value used for the comment tag.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-44664
GHSA-45C6-75P6-83CC

Affected Products

Fast-Xml-Builder