GHSA-vhxf-7vqr-mrjg

Suggest an improvement
Source
https://github.com/advisories/GHSA-vhxf-7vqr-mrjg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/02/GHSA-vhxf-7vqr-mrjg/GHSA-vhxf-7vqr-mrjg.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-vhxf-7vqr-mrjg
Aliases
Related
Published
2025-02-14T09:31:22Z
Modified
2025-02-14T18:29:24.492484Z
Severity
  • 4.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N CVSS Calculator
Summary
DOMPurify allows Cross-site Scripting (XSS)
Details

DOMPurify before 3.2.4 has an incorrect template literal regular expression, sometimes leading to mutation cross-site scripting (mXSS).

Database specific
{
    "nvd_published_at": "2025-02-14T09:15:08Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2025-02-14T18:05:08Z"
}
References

Affected packages

npm / dompurify

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.4