CVE-2026-44665

fast-xml-builder: Attribute values with unwanted quotes can bypass malicious or unwanted attributes

Published May 13, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Fast‑xml‑builder builds XML from JSON. Prior to version 1.1.7, if a JSON attribute value contains quotation marks and the builder is run with entity processing disabled, the value is broken into several attributes. An attacker can then insert arbitrary attributes into the resulting XML/HTML. This allows the insertion of malicious or unwanted attributes, potentially enabling cross‑site scripting, data tampering, or other forms of content injection depending on how the output is used.

Affected Systems

NaturalIntelligence’s Fast‑xml‑builder library is affected in all releases prior to 1.1.7. Any project that incorporates an older version of this library and processes JSON containing quoted attribute values without entity processing is vulnerable. The vulnerability is fixed in version 1.1.7 and later.

Risk and Exploitability

The CVSS score of 6.1 indicates moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. An attacker can exploit this flaw by supplying crafted JSON input containing quotes in attribute values to a system that uses fast‑xml‑builder with entity processing turned off. If the generated XML or HTML is rendered in a browser or used in further processing, the injected attributes could lead to code execution or data tampering. Mitigation is best achieved by applying the vendor‑provided patch or by sanitizing input.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade fast‑xml‑builder to version 1.1.7 or later, which contains the fix.
  • Sanitize JSON attribute values by removing or escaping quotation marks before passing them to fast‑xml‑builder, thereby preventing unintended attribute injection.
  • Review and adjust the entity processing setting or enforce strict attribute value validation to minimize the risk of attribute splitting.

Generated by OpenCVE AI on May 13, 2026 at 17:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-5wm8-gmm8-39j9 fast-xml-builder allows attribute values with unwanted quotes to bypass malicious or unwanted attributes
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Naturalintelligence
Naturalintelligence fast-xml-builder
Vendors & Products Naturalintelligence
Naturalintelligence fast-xml-builder
Type Values Removed Values Added
Description 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.
Title fast-xml-builder: Attribute values with unwanted quotes can bypass malicious or unwanted attributes
Weaknesses CWE-91
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-91

    XML Injection (aka Blind XPath Injection)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 18, 2026, 3:04 PM
Reserved
May 7, 2026, 4:20 PM
Status
Deferred
Published
May 13, 2026, 4:16 PM
Modified
Oct 26, 2026, 6:10 PM
Severity
Moderate
Public date
May 13, 2026, 3:24 PM