Packages / @clerk/nextjs / Security

HighVulnerabilityGHSA-9mp4-77wg-rwx9CVE-2025-53548Published 9 Jul 2025

@clerk/backend Performs Insufficient Verification of Data Authenticity

Affected releases · @clerk/nextjs

  • 6.x6.3.0 – 6.23.2Fixed in 6.23.3

On 6.x, the newest line:

npm install @clerk/nextjs@6.23.3
7.x
  1. Not affected

    7.0.0 – 7.9.19

    96 releases, latest

6.x
  1. Not affected

    6.0.0 – 6.2.1

    9 releases

  2. Affected

    6.3.0 – 6.23.2

    87 releases

  3. Fixed

    6.23.3 – 6.39.8

    83 releases

597 stable releases of @clerk/nextjs, oldest to newest, one row per major.

Is your project affected?

Paste your package.json, or type the range you declare for @clerk/nextjs. It is read in your browser and sent nowhere.

What happens

Impact

Applications that use the verifyWebhook() helper to verify incoming Clerk webhooks are susceptible to accepting improperly signed webhook events.

Patches

Resolution

The issue was resolved in @clerk/backend 2.4.0 by:

  • Properly parsing the webhook request's signatures and comparing them against the signature generated from the received event

Workarounds

If unable to upgrade, developers can workaround this issue by verifying webhooks manually, per this documentation.