VulnPulse
긴급취약점 권고JavaScript / Node.js

DOMPurify SAFE_FOR_TEMPLATES bypass: split template expressions survive in attached shadow root content on DOM output modes

影響: npm:dompurify >= 3.4.4, <= 3.4.16 → 3.4.17

When DOMPurify is configured with SAFE_FOR_TEMPLATES: true together with a DOM-returning mode (RETURN_DOM: true, RETURN_DOM_FRAGMENT: true, or IN_PLACE: true), template expressions such as {{...}}, ${...}, and survive sanitization inside the text content of an attached shadow root. The post-walk safety net _scrubTemplateExpressions (src/purify.ts:1717) was extended to recurse into .content, but it never recurses into attached shadow roots. An attacker who can supply a DOM node carrying a shadow…

GitHub Advisory Database에서 읽기

정보원GitHub Advisory Database
수집 시각2026. 10. 23. 오전 05:09
데이터Markdown JSON

2026. 10. 23. 오전 01:25, GitHub Advisory Database에서 "DOMPurify SAFE_FOR_TEMPLATES bypass: split template expressions survive in attached shadow root content on DOM output modes"을(를) 게시했습니다 (유형: 취약점 권고). 심각도는 "긴급"(critical)입니다. 관련 기술: JavaScript / Node.js.