Prototype polution in DOMPurify



Published: 2024-09-27
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2024-45801
CWE-ID CWE-1321
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
DOMPurify
Web applications / Modules and components for CMS

Vendor Cure53

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Prototype pollution

EUVDB-ID: #VU97758

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 - Improperly Controlled Modification of Object Prototype Attributes (\'Prototype Pollution\')

Exploit availability: No

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

CPE2.3 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.



###SIDEBAR###