CVE-2025-53548: @clerk/backend @clerk/backend Performs Insufficient Verification Of Vulnerability

HIGH
Advisory Identifier: GHSA-9mp4-77wg-rwx9
CVSS 7.5
CWE-345
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2025-53548
GHSA Identifier GHSA-9mp4-77wg-rwx9
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-345: Insufficient Verification of Data Authenticity
Affected Product @clerk/backend
Package Ecosystem npm
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (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.

@clerk/backend fixed: 2.4.0
npm install @clerk/backend@2.4.0
@clerk/astro fixed: 2.10.2
npm install @clerk/astro@2.10.2
@clerk/express fixed: 1.7.4
npm install @clerk/express@1.7.4
@clerk/fastify fixed: 2.4.4
npm install @clerk/fastify@2.4.4
@clerk/nextjs fixed: 6.23.3
npm install @clerk/nextjs@6.23.3
@clerk/nuxt fixed: 1.7.5
npm install @clerk/nuxt@1.7.5
@clerk/react-router fixed: 1.6.4
npm install @clerk/react-router@1.6.4
@clerk/remix fixed: 4.8.5
npm install @clerk/remix@4.8.5
@clerk/tanstack-react-start fixed: 0.18.3
npm install @clerk/tanstack-react-start@0.18.3
Verify Direct and Transitive Dependencies

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

### 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](https://clerk.com/docs/webhooks/overview#protect-your-webhooks-from-abuse).

CVE-2025-53548 Affected @clerk/backend Versions

9 component(s)
Fixed Versions:
2.4.02.10.21.7.42.4.46.23.31.7.51.6.44.8.50.18.3
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?
CVE-2025-53548 is a security vulnerability in @clerk/backend involving @clerk/backend Performs Insufficient Verification of Data Authenticity under CWE-345: Insufficient Verification of Data Authenticity.
Which @clerk/backend versions are affected?
Affected versions include releases prior to 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 across affected packages: @clerk/backend, @clerk/astro, @clerk/express, @clerk/fastify, @clerk/nextjs, @clerk/nuxt, @clerk/react-router, @clerk/remix, @clerk/tanstack-react-start.
What version fixes CVE-2025-53548?
Upgrading to 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 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @clerk/backend affected?
Yes, @clerk/backend is affected in releases prior to 2.4.0. Upgrade your dependency to 2.4.0 or later.
Is @clerk/astro affected?
Yes, @clerk/astro is affected in releases prior to 2.10.2. Upgrade your dependency to 2.10.2 or later.
What is the CVSS score of CVE-2025-53548?
CVE-2025-53548 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2025-53548?
CVE-2025-53548 is classified under CWE-345: Insufficient Verification of Data Authenticity (The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.).
How can I check npm dependencies for CVE-2025-53548?
Run the dependency tree command: 'npm ls @clerk/backend'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}