Intel

AIKIDO-2024-10541

strophe.js is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Dec 17, 2024

55

Medium Risk

This Affects:

JSstrophe.js
2.0.0 - 3.0.1
Fixed in 3.1.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) due to improper escaping of values passed to the stx tagged template literal. This flaw allows attackers to inject malicious scripts, potentially compromising the security of the application and its users.

Who does this affect?

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

Background info

strophe.js is vulnerable to Cross-site Scripting (XSS) in versions 2.0.0 - 3.0.1.

How to fix this

Upgrade the strophe.js library to the patch version.