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

Date Oct 22, 2026
Type Vendor advisory
Signal Critical vendor advisory
Vendor / Product npm · dompurify
Critical vendor advisory

Summary

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

Why it matters

GitHub has published a reviewed security advisory for dompurify. Prioritize it with other application dependency updates.

Operator check

Check whether dompurify is present in application dependency manifests, lockfiles, or build images. Review the GitHub advisory and upgrade to a patched version where available. CVSS score: 9.2.

Sources

PatchBrief uses public sources. It does not scan environments, verify exposure, or replace vendor guidance.