Lucene search

K
osvGoogleOSV:GHSA-MMHX-HMJR-R674
HistorySep 16, 2024 - 8:34 p.m.

DOMPurify allows tampering by prototype pollution

2024-09-1620:34:26
Google
osv.dev
4
dompurify
vulnerability
fixed
3.x branch
2.x branch
software
prototype pollution
depth checking
xss attack

CVSS3

7.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

AI Score

5.9

Confidence

High

EPSS

0

Percentile

16.3%

It has been discovered that malicious HTML using special nesting techniques can bypass the depth checking added to DOMPurify in recent releases. It was also possible to use Prototype Pollution to weaken the depth check.

This renders dompurify unable to avoid XSS attack.

Fixed by https://github.com/cure53/DOMPurify/commit/1e520262bf4c66b5efda49e2316d6d1246ca7b21 (3.x branch) and https://github.com/cure53/DOMPurify/commit/26e1d69ca7f769f5c558619d644d90dd8bf26ebc (2.x branch).

CVSS3

7.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

AI Score

5.9

Confidence

High

EPSS

0

Percentile

16.3%

Related for OSV:GHSA-MMHX-HMJR-R674