#VU97758 Prototype pollution in DOMPurify


Published: 2024-09-27

Vulnerability identifier: #VU97758

Vulnerability risk: Medium

CVSSv3.1: 6.3 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N/E:U/RL:O/RC:C]

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
http://github.com/cure53/DOMPurify/security/advisories/GHSA-mmhx-hmjr-r674
http://github.com/cure53/DOMPurify/commit/1e520262bf4c66b5efda49e2316d6d1246ca7b21
http://github.com/cure53/DOMPurify/commit/26e1d69ca7f769f5c558619d644d90dd8bf26ebc


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