5.1

GHSA-94H2-9755-QFGP: dompurify Npm

Published
Published 01-12-2026Last modified 03-12-2026

Vulnerability summary

GHSA-94H2-9755-QFGP is a medium (CVSS 5.1) vulnerability in dompurify Npm.

Priority
Routine

Not severe (CVSS 5.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.1/10
010
Medium · v4.0 (OSV · Npm), selected by version preference
EPSS scoreNot scoredRisk metrics not yet published.
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 01-12-2026
    PublishedVulnerability first disclosed.
  2. 03-12-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

2 scores · 1 source · 2 versions

EPSS trend

No EPSS score has been published for this record yet.

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Npm1 product
  • dompurifyAll versions (No fix recorded)

1 vendor · 1 product

References

3 links