XML Injection Affecting fast-xml-builder package, versions >=1.1.5 <1.1.6


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about XML Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-FASTXMLBUILDER-16540557
  • published8 May 2026
  • disclosed8 May 2026
  • creditUnknown

Introduced: 8 May 2026

NewCVE-2026-44664  (opens in a new tab)
CWE-91  (opens in a new tab)

How to fix?

Upgrade fast-xml-builder to version 1.1.6 or higher.

Overview

Affected versions of this package are vulnerable to XML Injection due to the incomplete sanitization of XML comments. An attacker can inject arbitrary XML or HTML content by including three consecutive dashes in the comment value.

Note:

This issue was introduced by the fix for CVE-2026-41650.

CVSS Base Scores

version 4.0
version 3.1