logo

CVE-2025-26791 dompurify

Package

Manager: npm
Name: dompurify
Vulnerable Version: >=0 <3.2.4

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N

CVSS v4.0: CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

EPSS: 0.00017 pctl0.02487

Details

DOMPurify allows Cross-site Scripting (XSS) DOMPurify before 3.2.4 has an incorrect template literal regular expression when SAFE_FOR_TEMPLATES is set to true, sometimes leading to mutation cross-site scripting (mXSS).

Metadata

Created: 2025-02-14T09:31:22Z
Modified: 2025-06-30T14:24:13Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/02/GHSA-vhxf-7vqr-mrjg/GHSA-vhxf-7vqr-mrjg.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-vhxf-7vqr-mrjg
Finding: F008
Auto approve: 1