Intel

AIKIDO-2025-10074

dompurify is vulnerable to Cross-site Scripting (XSS)

CVE-2025-26791Published Feb 5, 2025
February 5, 2025

45

CVE Score

Medium

Cross-site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to cross-site scripting (XSS) due to a flaw in the DOMPurify.sanitize function. This vulnerability allows attackers to bypass the sanitization process, potentially injecting and executing malicious scripts even when the function is used as intended.

How do I fix this?

Upgrade the org.webjars.bowergithub.cure53:dompurify library to a patch version.

Who does this affect?

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

Package

Versions

1.0.0 - 3.2.3

Fixed in 3.2.4

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea