kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-65900 DOMPurify before 3.4.8 Template Expression Injection via RETURN_DOM

설명

DOMPurify versions >=3.0.0 and before 3.4.8, when configured with SAFE_FOR_TEMPLATES together with a DOM output mode (RETURN_DOM, RETURN_DOM_FRAGMENT, or IN_PLACE), fail to strip template expressions (e.g. ${evil}, {{evil}}, <%evil%>) inside <template> element content. The final normalization/scrub pass (_scrubTemplateExpressions) uses a NodeIterator and node.normalize() that do not descend into template.content, so expressions that only form after adjacent text nodes merge survive sanitization. This bypasses SAFE_FOR_TEMPLATES and can allow a downstream template engine to evaluate attacker-supplied expressions. The string output path is not affected.

영향 받는 제품 제품 1개

  • cure53

    DOMPurify

    해결 버전 있음

    영향 받는 버전

    • 3.0.0 이상 3.4.8 미만

    해결 버전

    • 3.4.8 이상
    • 3.4.8

참고 자료 2건

‹ 목록

점검 지원 범위 문의

도입 문의