Advisory

GHSA-9mp4-77wg-rwx9

Also known as: CVE-2025-53548

Summary

@clerk/backend Performs Insufficient Verification of Data Authenticity

Details

Impact

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

Patches

  • @clerk/backend: the helper has been patched as of 2.4.0
  • @clerk/astro: the helper has been patched as of 2.10.2
  • @clerk/express: the helper has been patched as of 1.7.4
  • @clerk/fastify: the helper has been patched as of 2.4.4
  • @clerk/nextjs: the helper has been patched as of 6.23.3
  • @clerk/nuxt: the helper has been patched as of 1.7.5
  • @clerk/react-router: the helper has been patched as of 1.6.4
  • @clerk/remix: the helper has been patched as of 4.8.5
  • @clerk/tanstack-react-start: the helper has been patched as of 0.18.3

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-07-09 18:07 UTC
Modified
2025-07-09 20:15 UTC

Affected packages and fixes

@clerk/backend

npm · All systems

Affected

  • introduced 2.0.0, fixed 2.4.0 (semver)

Fixed versions

2.4.0

Fix

@clerk/astro

npm · All systems

Affected

  • introduced 2.9.0, fixed 2.10.2 (semver)

Fixed versions

2.10.2

Fix

@clerk/express

npm · All systems

Affected

  • introduced 1.6.0, fixed 1.7.4 (semver)

Fixed versions

1.7.4

Fix

@clerk/fastify

npm · All systems

Affected

  • introduced 2.3.0, fixed 2.4.4 (semver)

Fixed versions

2.4.4

Fix

@clerk/nextjs

npm · All systems

Affected

  • introduced 6.2.10, fixed 6.23.3 (semver)

Fixed versions

6.23.3

Fix

@clerk/nuxt

npm · All systems

Affected

  • introduced 1.7.0, fixed 1.7.5 (semver)

Fixed versions

1.7.5

Fix

@clerk/react-router

npm · All systems

Affected

  • introduced 1.5.0, fixed 1.6.4 (semver)

Fixed versions

1.6.4

Fix

@clerk/remix

npm · All systems

Affected

  • introduced 4.8.0, fixed 4.8.5 (semver)

Fixed versions

4.8.5

Fix

@clerk/tanstack-react-start

npm · All systems

Affected

  • introduced 0.16.0, fixed 0.18.3 (semver)

Fixed versions

0.18.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences