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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-47080— CDATA Section Breakout via Unsanitised ]]> 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 注入。 该漏洞与程序文件 以及程序例程 、 和 相关。 在 中,针对 的 函数将数据直接拼接在 CDATA 开始标记 和结束标记 之间,未对嵌入的 序列进行重写或分割处理。由于 CDATA 部分内部没有转义机制,因此嵌入任意字节的安全唯一方法是在 处进行分割,并生成相邻的 CDATA 部分。如果攻击者提供的输入中包含 ,则会提前关闭 CDATA 部分;后续的任

CVSS 2.1 · Low EPSS 0.17% · P6

Affected Version Matrix 2

VendorProduct Version RangeStatus
joshnuss xml_builder 0.0.7< 2.4.1 affected
26766f884ed19adee1563522c7afb5f056a6f3b5< bfb1ada071ccc1e384c30f782197ca5154106706 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-47080

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
CDATA Section Breakout via Unsanitised ]]> 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.escape/1. The escape/1 clause for {:cdata, data} in lib/xml_builder.ex concatenates data verbatim between the CDATA opener <![CDATA[ and closer ]]> without rewriting or splitting on the embedded ]]> sequence. Because CDATA sections have no internal escape mechanism, the only safe way to embed arbitrary bytes is to split on ]]> and emit adjacent CDATA sections. An attacker who can supply input containing ]]> closes the CDATA section early; any bytes that follow are parsed as ordinary XML markup by downstream consumers, allowing injection of arbitrary elements, text, or entity references into the output document. This issue affects xml_builder: from 0.0.7 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.7 ~ 2.4.1 cpe:2.3:a:joshnuss:xml_builder:*:*:*:*:*:*:*:*
joshnuss xml_builder 26766f884ed19adee1563522c7afb5f056a6f3b5 ~ bfb1ada071ccc1e384c30f782197ca5154106706 cpe:2.3:a:joshnuss:xml_builder:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-47080

# 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-47080

登录查看更多情报信息。

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

Vendor Advisories for CVE-2026-47080 (2)

News Coverage for CVE-2026-47080 (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-48590 2.1 LOW Element and Attribute Names Injected Verbatim into XML Output in xml_builder

IV. Related Vulnerabilities

V. Comments for CVE-2026-47080

No comments yet


Leave a comment