Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-48590— Element and Attribute Names Injected Verbatim into XML Output in xml_builder

Quick assessment

Affected
joshnuss xml_builder
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

漏洞描述: joshnuss 开发的 xml_builder(XmlBuilder 模块)中存在 XML 注入漏洞,可导致内容伪造(Content Spoofing)和 XML 注入。 该漏洞与程序文件 及相关函数 、 、 、 、 有关。 元素名称、属性名称以及文档类型(DOCTYPE)标识符在未进行任何验证或转义处理的情况下,被直接拼接(verbatim interpolation)到序列化的 XML 输出中。这意味着结构字符 、 、 、 、 未被正确处理。攻击者若能操控某个名称参数(例如,源自 JSON 对象键

CVSS 2.1 · Low EPSS 0.17% · P6

Affected Version Matrix 2

VendorProduct Version RangeStatus
joshnuss xml_builder 0.0.1< 2.4.1 affected
9fb49131ad3ee146a4c9db9bc175bdffe32e30a0< d5c0aec32a8eecbb440fb9bbb0f59d4d188d5859 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-48590

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Element and Attribute Names Injected Verbatim into XML Output in xml_builder
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
XML注入(XPath盲注)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
joshnuss xml_builder 0.0.1 ~ 2.4.1 cpe:2.3:a:joshnuss:xml_builder:*:*:*:*:*:*:*:*
joshnuss xml_builder 9fb49131ad3ee146a4c9db9bc175bdffe32e30a0 ~ d5c0aec32a8eecbb440fb9bbb0f59d4d188d5859 cpe:2.3:a:joshnuss:xml_builder:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-48590

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-48590

登录查看更多情报信息。

Patches & Fixes for CVE-2026-48590 (1)

Vendor Advisories for CVE-2026-48590 (2)

News Coverage for CVE-2026-48590 (1)

Same Patch Batch · joshnuss · 2026-08-21 · 3 CVEs total

CVE-2026-47079 2.1 LOW Round-trip Corruption via Improper Entity Escaping in xml_builder
CVE-2026-47080 2.1 LOW CDATA Section Breakout via Unsanitised ]]> in xml_builder

IV. Related Vulnerabilities

V. Comments for CVE-2026-48590

No comments yet


Leave a comment