Security mailing lists by PureSourceCode

CVE-2024-45801

MEDIUM 6.1CVSS 3.1

Tampering by prototype polution in DOMPurify

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. 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 cross site scripting (XSS) attacks. This issue has been addressed in versions 2.5.4 and 3.1.3 of DOMPurify. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Published
16 Sep 2024
Last modified
27 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-1321CWE-1333
Also known as
GHSA-mmhx-hmjr-r674
Sources
NVDJSONCVE ListJSONOSV GHSA-mmhx-hmjr-r674JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVE List GitHub_M CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 HIGH 7.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD cure53 dompurify
cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*
< 2.5.4 2.5.4
NVD cure53 dompurify
cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.1.3 3.1.3
CVE List cure53 DOMPurify = < 2.5.4; = >=3.0.0, < 3.1.3
OSV npm dompurify < 2.5.4 2.5.4
OSV npm dompurify >= 3.0.0, < 3.1.3 3.1.3

References

History

  • 27 Nov 2026 16:57 UTC · NVD: status Analyzed → Modified; 1 reference added
  • 27 Nov 2026 16:57 UTC · OSV: 1 reference added
  • 27 Nov 2026 15:57 UTC · CVE List: first stored (published 16 Sep 2024)
  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 16 Sep 2024)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Sep 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.