CVE-2025-26791
MEDIUM4.5EPSS 0.11%DOMPurify allows Cross-site Scripting (XSS)
發布日:2025/2/14修改日:2026/2/4
描述
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).
受影響套件(2)
- Debian/node-dompurifyfrom 0
- npm/dompurifyfrom 0, < 3.2.4
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.5 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
參考連結(7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-26791
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-26791
- PATCHhttps://github.com/cure53/DOMPurify
- WEBhttps://ensy.zip/posts/dompurify-323-bypass
- WEBhttps://github.com/cure53/DOMPurify/commit/d18ffcb554e0001748865da03ac75dd7829f0f02
- WEBhttps://github.com/cure53/DOMPurify/releases/tag/3.2.4
- WEBhttps://nsysean.github.io/posts/dompurify-323-bypass