Intel

AIKIDO-2024-10213

@clerk/nextjs is vulnerable to Cross-site Scripting (XSS)

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

20

Low Risk

This Affects:

JS@clerk/nextjs
0.0.1 - 5.2.14
Fixed in 5.3.0
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to Cross-site Scripting (XSS). The @clerk/nextjs script does not support strict-dynamic CSP (Content Security Policy), making it more susceptible to XSS attacks.

Who does this affect?

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

Background info

@clerk/nextjs is vulnerable to Cross-site Scripting (XSS) in versions 0.0.1 - 5.2.14.

How to fix this

Upgrade the @clerk/nextjs library to the patch version.