PT-2026-79348 · Unknown · Xml Builder

·

CVE-2026-48590

·

Published

2026-08-21

·

Updated

2026-08-21

CVSS v4.0

2.1

Low

VectorAV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
Name of the Vulnerable Software and Affected Versions xml builder versions 0.0.1 through 2.4.0
Description An XML Injection issue in the XmlBuilder module allows for Content Spoofing and XML Injection. The problem occurs because element names, attribute names, and doctype identifiers are interpolated directly into the serialized XML output without validation or escaping of structural characters such as <, >, ", ', and &. An attacker capable of influencing a name argument—such as an element name derived from an HTTP form field or a JSON object key—can inject arbitrary XML markup, including comments, extra elements, and event-handler attributes. This issue is associated with the file lib/xml builder.ex and the functions XmlBuilder.generate/1(), XmlBuilder.generate/2(), XmlBuilder.element/1(), XmlBuilder.element/2(), and XmlBuilder.element/3().
Recommendations Update xml builder to version 2.4.1 or later.

Exploit

Fix

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

Weakness Enumeration

Related Identifiers

CVE-2026-48590
GHSA-R82P-3Q2P-728W

Affected Products

Xml Builder