Intel

AIKIDO-2025-10062

dompurify is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS)CVE-2025-26791

45

Medium Risk

This Affects:

JSdompurify
1.0.0 - 3.2.3
Fixed in 3.2.4

TL;DR

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in the DOMPurify.sanitize function.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

dompurify is vulnerable to Cross-site Scripting (XSS) in versions 1.0.0 - 3.2.3.

How to fix this

Upgrade the dompurify library to a patch version.