#VU105783 Cross-site scripting in DOMPurify - CVE-2025-26791


Vulnerability identifier: #VU105783

Vulnerability risk: Low

CVSSv4.0: 0.6 [CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:L/E:U/U:Clear]

CVE-ID: CVE-2025-26791

CWE-ID: CWE-79

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
DOMPurify
Web applications / Modules and components for CMS

Vendor: Cure53

Description

The disclosed vulnerability allows a remote attacker to perform mutation cross-site scripting (XSS) attacks.

The vulnerability exists due to DOMPurify has an incorrect template literal regular expression. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

DOMPurify: 3.2.0 - 3.2.3


External links
https://ensy.zip/posts/dompurify-323-bypass/
https://ensy.zip/posts/dompurify-323-bypass/
https://github.com/cure53/DOMPurify/commit/d18ffcb554e0001748865da03ac75dd7829f0f02
https://github.com/cure53/DOMPurify/releases/tag/3.2.4
https://nsysean.github.io/posts/dompurify-323-bypass/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability