packagist package report

Is craftcms/cms safe?

127 known vulnerabilities, worst severity CRITICAL.

// reach

0 direct dependencies

none carry a known advisory

    0 packages depend on it

    dependents not yet indexed for this ecosystem

      Create a free accountfor every dependency path, dependent and what to upgrade
      // ai model usage

      Tracked for PyPI packages. HuggingFace models declare Python dependencies, so packagist packages are not covered.


      cvss
      9.0
      critical

      severity band, no base score published

      epss
      not scored

      chance of exploitation in 30 days

      xyz score
      4.0
      medium

      CyberXYZ composite out of 10

      fig. 01 — GHSA-wg23-69c2-gjc8, the advisory selected below

      // 127 advisories

      GHSA-wg23-69c2-gjc8

      CRITICALGitHub rating

      Craft CMS passkey login accepts WebAuthn requestOptions from the unauthenticated login request body and does not persist the updated credential counter returned by the WebAuthn assertion validator. A captured passkey login request body can therefore be replayed because the old challenge is accepted again, and the stored credential counter remains stale.

      Craft CMS 5.10.3 and current 5.x HEAD accept PublicKeyCredentialRequestOptions from the unauthenticated users/login-with-passkey request body and do not persist the updated PublicKeyCredentialSource returned/mutated by web-auth/webauthn-lib after assertion validation.

      As a result, a captured passkey login request body is not one-time-use. Reposting the same requestOptions and response can result in validation against the same stale credential counter and create another Craft session for that user. This weakens passkeys from a fresh, server-challenged authentication ceremony into a replayable bearer artifact if one successful assertion body is exposed.

      // attack scenario
      • A victim successfully logs in with a passkey.
      • The POST /actions/users/login-with-passkey body containing requestOptions and response is captured from an application/request log, debugging proxy, browser extension, compromised analytics layer, or another request-body disclosure point.
      • The attacker reposts the same body to users/login-with-passkey.
      • Craft deserializes the attacker-supplied requestOptions, so the old challenge remains accepted for validation.
      • The WebAuthn validator compares the assertion's signCount against the stale stored credential counter.
      • Because Craft did not persist the updated credential source on the original login, the same stale stored counter is used again.
      • The same captured assertion validates and Craft creates another authenticated session for the victim account.

      This is exactly what WebAuthn's challenge and signature-counter lifecycle is meant to prevent: a successful assertion should be bound to a server-issued challenge and should update server-side credential state so it cannot be used again.

      // impact

      An attacker who obtains one successful passkey login request body can replay it to create additional authenticated Craft sessions for that user. This defeats WebAuthn’s intended one-time challenge and signature-counter replay protection, reducing a passkey assertion to a reusable bearer artifact if exposed through request logging, a debugging proxy, a compromised same-origin script layer, or another request-body disclosure path.

      The impact is an account/session takeover of the affected passkey account after a single assertion body is captured. The issue is in Craft’s native passkey login flow and affects fresh Craft installations with passkeys enabled.


      Checked 2026-11-07 at 14:14 UTC. The most recent advisory here was published 2026-08-07. Updated continuously from NVD, GHSA, OSV and CNA feeds.

      Think a verdict here is wrong? Tell us — we respond within 2 business days.