Skip to main content
EPSS 0.2%top 92%

CVE-2026-47079: CWE-838 Inappropriate Encoding for Output Context in joshnuss xml_builder

0
Low
VulnerabilityCVE-2026-47079cvecve-2026-47079cwe-838
Published: 08/21/2026 (08/21/2026, 09:52:44 UTC)
Source: CVE Database V5
Vendor/Project: joshnuss
Product: xml_builder

Description

CVE-2026-47079 is a vulnerability in the joshnuss xml_builder library where certain characters are not properly escaped in XML output. This allows attacker-supplied input containing entity-like tokens to be emitted verbatim, potentially leading to content spoofing or cross-site scripting when downstream XML parsers decode the entities. The issue affects versions from 0.0.6 up to but not including 2.4.1.

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.6 <2.4.1

joshnuss

xml_builder

xml_builder
pkg:hex/xml_builder
Affected versions
>=0.0.6 <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:18:01 UTC

Technical Analysis

The vulnerability arises because XmlBuilder.generate/1 does not escape literal '&' characters in text or attribute values when followed by entity-like tokens such as lt;, gt;, amp;, quot;, or apos;. Consequently, input like '<script>' is output without proper escaping, allowing downstream XML parsers to interpret it as markup rather than inert text. This can enable attackers to inject markup into any downstream consumer that parses the XML and renders the text in a markup-sensitive context, including HTML, SVG, or RSS/Atom feeds. Both element text and attribute values are affected. The affected versions are >=0.0.6 and <2.4.1.

Potential Impact

The vulnerability can lead to content spoofing and cross-site scripting (XSS) attacks when the malformed XML is parsed and rendered by downstream consumers. This could allow attackers to inject malicious markup despite upstream filters blocking raw '<' and '>' characters. However, the CVSS score is low (2.1), indicating limited impact or exploitability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Users should monitor vendor communications for updates and consider avoiding affected versions until a fix is released.

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-18T17:28:10.319Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a882376acd9273b49f80ec6

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

Last enriched: 09/11/2026, 03:18:01 UTC

Last updated: 10/05/2026, 18:48:19 UTC

Views: 73

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