CVE-2025-53548: @clerk/backend @clerk/backend Performs Insufficient Verification Of Vulnerability
HIGHCVE-2025-53548 is a HIGH (CVSS 7.5) @clerk/backend performs insufficient verification of vulnerability (CWE-345: Insufficient Verification of Data Authenticity) affecting @clerk/backend libraries in the npm ecosystem. The issue involves @clerk/backend performs insufficient verification of data authenticity. Remediation is available by upgrading affected packages to version 2.4.0, 2.10.2, 1.7.4, 2.4.4, 6.23.3, 1.7.5, 1.6.4, 4.8.5, 0.18.3.
CVE-2025-53548 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2025-53548
To remediate this vulnerability, upgrade all affected @clerk/backend dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @clerk/backend@2.4.0
npm install @clerk/astro@2.10.2
npm install @clerk/express@1.7.4
npm install @clerk/fastify@2.4.4
npm install @clerk/nextjs@6.23.3
npm install @clerk/nuxt@1.7.5
npm install @clerk/react-router@1.6.4
npm install @clerk/remix@4.8.5
npm install @clerk/tanstack-react-start@0.18.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @clerk/backend
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-53548, inspect your project dependencies using npm:
npm ls @clerk/backend
Analyze the terminal output to locate any version of @clerk/backend in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.4.0), your application is affected.
Note: The npm ls @clerk/backend command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-345: Insufficient Verification of Data Authenticity, where the product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data. In @clerk/backend, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-53548 Affected @clerk/backend Versions
9 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@clerk/backend
|
npm |
≥ 2.0.0
< 2.4.0
|
2.4.0
|
|
@clerk/astro
|
npm |
≥ 2.9.0
< 2.10.2
|
2.10.2
|
|
@clerk/express
|
npm |
≥ 1.6.0
< 1.7.4
|
1.7.4
|
|
@clerk/fastify
|
npm |
≥ 2.3.0
< 2.4.4
|
2.4.4
|
|
@clerk/nextjs
|
npm |
≥ 6.2.10
< 6.23.3
|
6.23.3
|
|
@clerk/nuxt
|
npm |
≥ 1.7.0
< 1.7.5
|
1.7.5
|
|
@clerk/react-router
|
npm |
≥ 1.5.0
< 1.6.4
|
1.6.4
|
|
@clerk/remix
|
npm |
≥ 4.8.0
< 4.8.5
|
4.8.5
|
|
@clerk/tanstack-react-start
|
npm |
≥ 0.16.0
< 0.18.3
|
0.18.3
|
References
Frequently Asked Questions
What is CVE-2025-53548?
Which @clerk/backend versions are affected?
What version fixes CVE-2025-53548?
Is @clerk/backend affected?
Is @clerk/astro affected?
What is the CVSS score of CVE-2025-53548?
What CWE is associated with CVE-2025-53548?
How can I check npm dependencies for CVE-2025-53548?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9mp4-77wg-rwx9",
"modified" : "2025-07-09T20:15:13Z",
"published" : "2025-07-09T18:07:40Z",
"aliases" : [ "CVE-2025-53548" ],
"summary" : "@clerk/backend Performs Insufficient Verification of Data Authenticity",
"details" : "### Impact\n\nApplications that use the `verifyWebhook()` helper to verify incoming Clerk webhooks are susceptible to accepting improperly signed webhook events.\n\n### Patches\n\n* `@clerk/backend`: the helper has been patched as of `2.4.0`\n* `@clerk/astro`: the helper has been patched as of `2.10.2`\n* `@clerk/express`: the helper has been patched as of `1.7.4`\n* `@clerk/fastify`: the helper has been patched as of `2.4.4`\n* `@clerk/nextjs`: the helper has been patched as of `6.23.3`\n* `@clerk/nuxt`: the helper has been patched as of `1.7.5`\n* `@clerk/react-router`: the helper has been patched as of `1.6.4`\n* `@clerk/remix`: the helper has been patched as of `4.8.5`\n* `@clerk/tanstack-react-start`: the helper has been patched as of `0.18.3`\n\n### Resolution\n\nThe issue was resolved in **`@clerk/backend` `2.4.0`** by:\n\n* Properly parsing the webhook request's signatures and comparing them against the signature generated from the received event\n\n### Workarounds\n\nIf unable to upgrade, developers can workaround this issue by verifying webhooks manually, per [this documentation](https://clerk.com/docs/webhooks/overview#protect-your-webhooks-from-abuse).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@clerk/backend"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.4.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@clerk/astro"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.9.0"
}, {
"fixed" : "2.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@clerk/express"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.6.0"
}, {
"fixed" : "1.7.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@clerk/fastify"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.3.0"
}, {
"fixed" : "2.4.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@clerk/nextjs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.2.10"
}, {
"fixed" : "6.23.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@clerk/nuxt"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.7.0"
}, {
"fixed" : "1.7.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@clerk/react-router"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.5.0"
}, {
"fixed" : "1.6.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@clerk/remix"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.8.0"
}, {
"fixed" : "4.8.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@clerk/tanstack-react-start"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.16.0"
}, {
"fixed" : "0.18.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/clerk/javascript/security/advisories/GHSA-9mp4-77wg-rwx9"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-53548"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/clerk/javascript"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-345" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-07-09T18:07:40Z",
"nvd_published_at" : "2025-07-09T18:15:24Z"
}
}