CVE-2026-48590
published low CVSS 4.0 · 2.1Element and Attribute Names Injected Verbatim into XML Output in xml_builder
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| joshnuss | — | xml_builder0.0.1 to < 2.4.1 · Other versions: unaffected | Affected | Not stated | EEF |
| joshnuss | — | joshnuss/xml_builderxml_builder · 9fb49131ad3ee146a4c9db9bc175bdffe32e30a0 to < d5c0aec32a8eecbb440fb9bbb0f59d4d188d5859 · Other versions: unaffected | Affected | Not stated | EEF |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- EEF · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| joshnuss | xml_builder | 0.0.1 to < 2.4.1 (affected · semver)Default: unaffected | EEF · cna |
| joshnuss | xml_builder | 9fb49131ad3ee146a4c9db9bc175bdffe32e30a0 to < d5c0aec32a8eecbb440fb9bbb0f59d4d188d5859 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-91 CWE-91 XML Injection
References
5- EEF CNA record for CVE-2026-48590 https://cna.erlef.org/cves/CVE-2026-48590.html
- Introducing commit 9fb4913 in joshnuss/xml_builder https://github.com/joshnuss/xml_builder/commit/9fb49131ad3ee146a4c9db9bc175bdffe32e30a0
- Fix commit d5c0aec in joshnuss/xml_builder https://github.com/joshnuss/xml_builder/commit/d5c0aec32a8eecbb440fb9bbb0f59d4d188d5859
- https://github.com/joshnuss/xml_builder/security/advisories/GHSA-r82p-3q2p-728w
- OSV record EEF-CVE-2026-48590 https://osv.dev/vulnerability/EEF-CVE-2026-48590
Provider assertions
2EEF · cna
Element and Attribute Names Injected Verbatim into XML Output in xml_builder
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 50ced272e48374e80fa08d235d0b468449998aaa1cadc12e5e331e4e5538fa7b
- Ingested
- 19 Nov 2026, 08:49:09 UTC
- Source record
- Official CVE record