Vulnerability library
Security checkApril 06, 2026

Clerk: SSRF in the opt-in clerkFrontendApiProxy feature may leak secret keys to unintended host

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpm@clerk/backend

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

The clerkFrontendApiProxy function in @clerk/backend is vulnerable to Server-Side Request Forgery (SSRF). An unauthenticated attacker can craft a request path that causes the proxy to send the application’s Clerk-Secret-Key to an attacker-controlled server.

Recommendation

Update the @clerk/backend package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 3.0.0, <= 3.2.2
  • Patched version(s): 3.2.3

References

Could your website be exposed too?

SmartScanner can check your website for Clerk: SSRF in the opt-in clerkFrontendApiProxy feature may leak secret keys to unintended host and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated April 06, 2026