@clerk/clerk-js is vulnerable to Cross-site Scripting (XSS)
45
Medium Risk
Affected versions of this package are vulnerable to client-side attacks due to inadequate sanitization of the href attribute in the Link component. The code fails to validate or sanitize URLs, allowing dangerous schemes (e.g., javascript:, data:) in the href prop. By supplying a malicious href (e.g., through user-controlled inputs), an attacker could execute arbitrary JavaScript when a victim clicks the link, compromising user sessions, stealing sensitive data, or performing unauthorized actions within the application.
You are affected if you are using a version that falls within the vulnerable range.
@clerk/clerk-js is vulnerable to Cross-site Scripting (XSS) in versions 4.0.0 - 5.82.0.
Upgrade the @clerk/clerk-js library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant