Intel

AIKIDO-2024-10354

usemods is vulnerable to Cross-site Scripting (XSS)

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 22, 2024
October 22, 2024

35

CVE Score

Low

Cross-site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to Cross-site Scripting (XSS) due to flaws in the stripHtml function. This function fails to sanitize certain dangerous HTML tags, allowing an attacker to inject malicious scripts and potentially execute them in a user's browser.

How do I fix this?

Upgrade the usemods library to the patch version.

Who does this affect?

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

Package

Versions

0.0.4 - 1.7.1

Fixed in 1.8.0

Background info

usemods is vulnerable to Cross-site Scripting (XSS) in versions 0.0.4 - 1.7.1.

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