Intel

AIKIDO-2024-10354

usemods is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

35

Low Risk

This Affects:

jsusemods
0.0.4 - 1.7.1
Fixed in 1.8.0

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.

Who does this affect?

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

Background info

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

How to fix this

Upgrade the usemods library to the patch version.