NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2025-53548: @clerk/backend Performs Insufficient Verification of Data Authenticity

highCVSS 3.1 7.5GHSA-9mp4-77wg-rwx9

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…

Published Jul 9, 2025

Affected packages

@clerk/backend

Ecosystem
npm
Affected
>= 2.0.0, < 2.4.0
Fixed in
2.4.0
Check
npm ls @clerk/backend

@clerk/astro

Ecosystem
npm
Affected
>= 2.9.0, < 2.10.2
Fixed in
2.10.2
Check
npm ls @clerk/astro

@clerk/express

Ecosystem
npm
Affected
>= 1.6.0, < 1.7.4
Fixed in
1.7.4
Check
npm ls @clerk/express

@clerk/fastify

Ecosystem
npm
Affected
>= 2.3.0, < 2.4.4
Fixed in
2.4.4
Check
npm ls @clerk/fastify

@clerk/nextjs

Ecosystem
npm
Affected
>= 6.2.10, < 6.23.3
Fixed in
6.23.3
Check
npm ls @clerk/nextjs

@clerk/nuxt

Ecosystem
npm
Affected
>= 1.7.0, < 1.7.5
Fixed in
1.7.5
Check
npm ls @clerk/nuxt

@clerk/react-router

Ecosystem
npm
Affected
>= 1.5.0, < 1.6.4
Fixed in
1.6.4
Check
npm ls @clerk/react-router

@clerk/remix

Ecosystem
npm
Affected
>= 4.8.0, < 4.8.5
Fixed in
4.8.5
Check
npm ls @clerk/remix

@clerk/tanstack-react-start

Ecosystem
npm
Affected
>= 0.16.0, < 0.18.3
Fixed in
0.18.3
Check
npm ls @clerk/tanstack-react-start

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to GautierT.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries