Skip to main content
EPSS 0.2%top 88%

CVE-2026-48590: CWE-91 XML Injection (aka Blind XPath Injection) in joshnuss xml_builder

0
Low
VulnerabilityCVE-2026-48590cvecve-2026-48590cwe-91
Published: 08/21/2026 (08/21/2026, 09:51:25 UTC)
Source: CVE Database V5
Vendor/Project: joshnuss
Product: xml_builder

Description

CVE-2026-48590 is an XML Injection vulnerability in the joshnuss xml_builder library affecting versions from 0.0.1 up to but not including 2.4.1. The vulnerability arises because element names, attribute names, and doctype identifiers are inserted into XML output without proper validation or escaping of special characters. This allows an attacker who can control these inputs to inject arbitrary XML markup, potentially leading to content spoofing or manipulation of the XML document structure. The CVSS score is low (2.1), indicating limited impact and attack complexity.

CVSS v4.0

Score 2.1low

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
Low
Subsq. Availability
None
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

Affected software

joshnuss

xml_builder

Affected versions
>=0.0.1 <2.4.1

joshnuss

xml_builder

xml_builder
pkg:hex/xml_builder
Affected versions
>=0.0.1 <2.4.1
GitHub Actionsmore threats →cve
joshnuss/xml_builder
pkg:github/joshnuss/xml_builder
CPE configurations
cpe:2.3:a:joshnuss:xml_builder:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/11/2026, 03:17:48 UTC

Technical Analysis

The vulnerability in the XmlBuilder module of joshnuss xml_builder (CVE-2026-48590) stems from unsafe interpolation of XML structural characters in element names, attribute names, and doctype identifiers within the serialization routines (XmlBuilder.generate/1, generate/2, element/1, element/2, element/3). This lack of escaping or validation enables an attacker controlling input names to inject arbitrary XML markup such as additional elements, comments, or event-handler attributes. The affected versions are >=0.0.1 and <2.4.1.

Potential Impact

An attacker able to influence element or attribute names in XML output can inject arbitrary XML content, which may lead to content spoofing or manipulation of the XML document. The impact is limited by the low CVSS score (2.1) and the requirement for local or limited access (attack vector local). There is no indication of remote exploitation or privilege escalation.

Mitigation Recommendations

No official patch or fix is indicated in the provided data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using untrusted input directly as element or attribute names in XML generation or apply manual validation and escaping of XML structural characters in these inputs.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-05-22T09:36:56.833Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a882376acd9273b49f80eca

Added to database: 08/21/2026, 10:07:50 UTC

Last enriched: 09/11/2026, 03:17:48 UTC

Last updated: 10/05/2026, 06:48:16 UTC

Views: 66

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses