#VU97758 Prototype pollution in DOMPurify - CVE-2024-45801


| Updated: 2024-11-20

Vulnerability identifier: #VU97758

Vulnerability risk: Medium

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

CVE-ID: CVE-2024-45801

CWE-ID: CWE-1321

Exploitation vector: Network

Exploit availability: No

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

Vendor: Cure53

Description

The vulnerability allows a remote attacker to execute arbitrary JavaScript code.

The vulnerability exists due to improper input validation. A remote attacker can pass specially crafted input to the application and perform prototype pollution, which can result in XSS attack.

Mitigation
Install update from vendor's website.

Vulnerable software versions

DOMPurify: 2.0.0 - 3.1.2


External links
https://github.com/cure53/DOMPurify/security/advisories/GHSA-mmhx-hmjr-r674
https://github.com/cure53/DOMPurify/commit/1e520262bf4c66b5efda49e2316d6d1246ca7b21
https://github.com/cure53/DOMPurify/commit/26e1d69ca7f769f5c558619d644d90dd8bf26ebc
https://github.com/cure53/DOMPurify/security/advisories/GHSA-gx9m-whjm-85jf


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