2.1
LOW CVSS 4.0
CVE-2026-48590
Element and Attribute Names Injected Verbatim into XML Output in xml_builder
Description

XML Injection vulnerability in joshnuss xml_builder (XmlBuilder module) allows Content Spoofing, XML Injection. This vulnerability is associated with program files lib/xml_builder.ex and program routines XmlBuilder.generate/1, XmlBuilder.generate/2, XmlBuilder.element/1, XmlBuilder.element/2, XmlBuilder.element/3. Element names, attribute names, and doctype identifiers are interpolated verbatim into the serialized XML output without validation or escaping of structural characters (<, >, ", ', &). An attacker who can influence a name argument (for example, an element name derived from a JSON object key or an HTTP form field name) can inject arbitrary XML markup including extra elements, comments, and event-handler attributes into the output document. This issue affects xml_builder: from 0.0.1 before 2.4.1.

INFO

Published Date :

Aug. 21, 2026, 10:16 a.m.

Last Modified :

Aug. 21, 2026, 10:16 a.m.

Remotely Exploit :

No

Source :

6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Affected Products

The following products are affected by CVE-2026-48590 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 4.0 LOW 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
CVSS 4.0 LOW 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Solution
Update xml_builder to version 2.4.1 or later to fix XML injection.
  • Update the xml_builder dependency to version 2.4.1 or later.
  • Validate all input used for XML element and attribute names.
  • Escape structural characters in XML content.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-48590 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-48590 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-48590 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-48590 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

    Aug. 21, 2026

    Action Type Old Value New Value
    Added Affected [{'cpes': ['cpe:2.3:a:joshnuss:xml_builder:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/joshnuss/xml_builder', 'vendor': 'joshnuss', 'modules': ["'Elixir.XmlBuilder'"], 'product': 'xml_builder', 'versions': [{'status': 'affected', 'version': '0.0.1', 'lessThan': '2.4.1', 'versionType': 'semver'}], 'packageURL': 'pkg:hex/xml_builder', 'packageName': 'xml_builder', 'programFiles': ['lib/xml_builder.ex'], 'collectionURL': 'https://repo.hex.pm', 'defaultStatus': 'unaffected', 'programRoutines': [{'name': "'Elixir.XmlBuilder':generate/1"}, {'name': "'Elixir.XmlBuilder':generate/2"}, {'name': "'Elixir.XmlBuilder':element/1"}, {'name': "'Elixir.XmlBuilder':element/2"}, {'name': "'Elixir.XmlBuilder':element/3"}]}, {'cpes': ['cpe:2.3:a:joshnuss:xml_builder:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/joshnuss/xml_builder', 'vendor': 'joshnuss', 'modules': ["'Elixir.XmlBuilder'"], 'product': 'xml_builder', 'versions': [{'status': 'affected', 'version': '9fb49131ad3ee146a4c9db9bc175bdffe32e30a0', 'lessThan': 'd5c0aec32a8eecbb440fb9bbb0f59d4d188d5859', 'versionType': 'git'}], 'packageURL': 'pkg:github/joshnuss/xml_builder', 'packageName': 'joshnuss/xml_builder', 'programFiles': ['lib/xml_builder.ex'], 'collectionURL': 'https://github.com', 'defaultStatus': 'unaffected', 'programRoutines': [{'name': "'Elixir.XmlBuilder':generate/1"}, {'name': "'Elixir.XmlBuilder':generate/2"}, {'name': "'Elixir.XmlBuilder':element/1"}, {'name': "'Elixir.XmlBuilder':element/2"}, {'name': "'Elixir.XmlBuilder':element/3"}]}]
    Added Description XML Injection vulnerability in joshnuss xml_builder (XmlBuilder module) allows Content Spoofing, XML Injection. This vulnerability is associated with program files lib/xml_builder.ex and program routines XmlBuilder.generate/1, XmlBuilder.generate/2, XmlBuilder.element/1, XmlBuilder.element/2, XmlBuilder.element/3. Element names, attribute names, and doctype identifiers are interpolated verbatim into the serialized XML output without validation or escaping of structural characters (<, >, ", ', &). An attacker who can influence a name argument (for example, an element name derived from a JSON object key or an HTTP form field name) can inject arbitrary XML markup including extra elements, comments, and event-handler attributes into the output document. This issue affects xml_builder: from 0.0.1 before 2.4.1.
    Added CVSS V4.0 AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-91
    Added Reference https://cna.erlef.org/cves/CVE-2026-48590.html
    Added Reference https://github.com/joshnuss/xml_builder/commit/d5c0aec32a8eecbb440fb9bbb0f59d4d188d5859
    Added Reference https://github.com/joshnuss/xml_builder/security/advisories/GHSA-r82p-3q2p-728w
    Added Reference https://osv.dev/vulnerability/EEF-CVE-2026-48590
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.