CVE-2026-34601 xmldom: XML injection via unsafe CDATA serialization allows attacker-controlled markup insertion
설명
xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and `XMLSerializer` module. In xmldom versions 0.6.0 and prior and @xmldom/xmldom prior to versions 0.8.12 and 0.9.9, xmldom/xmldom allows attacker-controlled strings containing the CDATA terminator ]]> to be inserted into a CDATASection node. During serialization, XMLSerializer emitted the CDATA content verbatim without rejecting or safely splitting the terminator. As a result, data intended to remain text-only became active XML markup in the serialized output, enabling XML structure injection and downstream business-logic manipulation. This issue has been patched in xmldom version 0.6.0 and @xmldom/xmldom versions 0.8.12 and 0.9.9.
영향 받는 제품 제품 1개
-
xmldom
xmldom
영향 받는 버전
- 버전 정보 확인 필요
해결 버전
해결된 버전 정보가 없습니다.
패키지 기준 해결 버전 패키지 1개
-
해결 버전 있음
npm · @xmldom/xmldom
영향 받는 버전 · 해결 버전
- 영향 0.8.12 미만 · 해결 0.8.12 이상
- 영향 0.9.0 이상 0.9.9 미만 · 해결 0.9.9 이상
출처: GitHub Advisory Database · CC-BY 4.0
참고 자료 4건
- github.com https://github.com/xmldom/xmldom/commit/2b852e836ab86dbbd6cbaf0537f584dd0b5ac184 (새 창)
- github.com https://github.com/xmldom/xmldom/releases/tag/0.8.12 (새 창)
- github.com https://github.com/xmldom/xmldom/releases/tag/0.9.9 (새 창)
- github.com https://github.com/xmldom/xmldom/security/advisories/GHSA-wh4c-j3r5-mjhp (새 창)