NaturalIntelligence/fast-xml-builder

NaturalIntelligence/fast-xml-builder

Releases10
Frequency6 days 13 hours
Last Release
Stars16
Build XML from JSON

CVE History

CVEPublishedCVSS v3CVSS v2
6.1 MEDIUM

fast-xml-builder builds XML from JSON. Prior to 1.1.7, when an input data has quotes in attribute values but process entities is not enabled, it breaks the attribute value into multiple attributes. This gives the room for an attacker to insert unwanted attributes to the XML/HTML. This vulnerability is fixed in 1.1.7.

6.1 MEDIUM

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.