CVE-2026-47079
Last modified
CVE-2026-47079 is a low-severity vulnerability rated 2.1/10 on the CVSS scale. Inappropriate Encoding for Output Context vulnerability in joshnuss xml_builder (XmlBuilder module) allows Content Spoofing, Cross-site Scripting. This vulnerability is associated with program files lib/xml_builder.ex and program routines XmlBuilder.generate/1, XmlBuilder.generate/2, XmlBuilder.escape_string/1, XmlBuilder.escape_entity/1. XmlBuilder.generate/1 does not escape literal & characters in text or attribute values when they are followed by an entity-like token (lt;, gt;, amp;, quot;, apos;). As a result, attacker-supplied input such as <script> is emitted verbatim into the serialized XML rather than being escaped to &lt;script&gt;. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
Description
Inappropriate Encoding for Output Context vulnerability in joshnuss xml_builder (XmlBuilder module) allows Content Spoofing, Cross-site Scripting. This vulnerability is associated with program files lib/xml_builder.ex and program routines XmlBuilder.generate/1, XmlBuilder.generate/2, XmlBuilder.escape_string/1, XmlBuilder.escape_entity/1. XmlBuilder.generate/1 does not escape literal & characters in text or attribute values when they are followed by an entity-like token (lt;, gt;, amp;, quot;, apos;). As a result, attacker-supplied input such as <script> is emitted verbatim into the serialized XML rather than being escaped to &lt;script&gt;. When a downstream XML parser later reads the document, it decodes the entity sequences into the literal characters <script>, promoting inert-looking text into real markup. This allows an attacker to bypass upstream filters that block raw < and > characters, injecting markup into any downstream consumer that parses the produced XML and renders the text content in a markup-sensitive context (HTML, SVG, RSS/Atom feeds). Both element text and attribute values are affected. This issue affects xml_builder: from 0.0.6 before 2.4.1.
Metrics
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/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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| joshnuss | xml_builder | >= 0.0.6, < 2.4.1 |
| joshnuss | xml_builder | >= aae31e6e8ac837bcbb8afb816c0d14324b5cfe2b, < c3390e2046ec297b3bb8c30d5779cdfd6508c275 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-47079?
How severe is CVE-2026-47079?
How do I fix CVE-2026-47079?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-47073Allocation of Resources Without Limits or Throttling vulnera…7.5
- CVE-2026-47074Improper Certificate Validation vulnerability in ex-aws ex_a…8.7
- CVE-2026-47075Improper Neutralization of CRLF Sequences vulnerability in b…7.5
- CVE-2026-47076Interpretation Conflict vulnerability in benoitc hackney all…6.5
- CVE-2026-47077Allocation of Resources Without Limits or Throttling vulnera…7.5
- CVE-2026-47078Relative Path Traversal vulnerability in Erlang OTP (stdlib …4.8
- CVE-2026-4708Incorrect boundary conditions in the Graphics component. Thi…7.5
- CVE-2026-47080XML Injection vulnerability in joshnuss xml_builder (XmlBuil…2.1
- CVE-2026-47081An issue was discovered in cyrus-imapd in Cyrus IMAP through…3.1
- CVE-2026-47082An issue was discovered in cyrus-imapd in Cyrus IMAP through…5.4
- CVE-2026-47083An issue was discovered in cyrus-imapd in Cyrus IMAP through…4.3
- CVE-2026-47084An issue was discovered in cyrus-imapd in Cyrus IMAP through…6.5
Are you affected by CVE-2026-47079?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
