# GHSA-94H2-9755-QFGP

- Priority: **Routine**
- Reason: Not severe (CVSS 5.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-01 · Modified: 2026-12-03
- Record: https://cvemate.com/vulnerability/GHSA-94H2-9755-QFGP · JSON: https://cvemate.com/vulnerability/GHSA-94H2-9755-QFGP/json

## Description

```text
Duplicate Advisory: SAFE_FOR_TEMPLATES bypass: template expressions reassemble when sanitized output is reparsed (nested <form> and orphaned end tags)

## Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-qm7q-q8h9-jg8q. This link is maintained to preserve external references.

## Original Description

DOMPurify before 3.4.18 contains a SAFE_FOR_TEMPLATES bypass that allows attackers to smuggle template expressions past sanitization using nested form elements or orphaned end tags. When the sanitized output is reparsed via innerHTML, split braces merge into live {{...}} expressions that Vue or AngularJS evaluate, executing attacker JavaScript in victims' browsers.
```

## Signals

- CVSS: 5.1 medium (v4.0, OSV · Npm) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- EPSS: not scored
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- Npm dompurify (Npm): All versions (No fix recorded)

## References

- <https://github.com/cure53/DOMPurify/security/advisories/GHSA-qm7q-q8h9-jg8q>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-140391>
- <https://www.vulncheck.com/advisories/dompurify-before-3.4.18-safe-for-templates-bypass-leading-to-xss>

---

Data as of 2026-12-05T11:15:26.540Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
