CVE-2026-30964

Webauthn Framework: allowed_origins collapses URL-like origins to host-only values, bypassing exact origin validation

State
Published
Severity
5.4 Medium
Published
Mar 10, 2026
Updated
Mar 10, 2026
Reserved
Mar 7, 2026

Read the record on cve.org

Description

web-auth/webauthn-lib is an open source set of PHP libraries and a Symfony bundle to allow developers to integrate that authentication mechanism into their web applications. Prior to 5.2.4, when allowed_origins is configured, CheckAllowedOrigins reduces URL-like values to their host component and accepts on host match alone. This makes exact origin policies impossible to express: scheme and port differences are silently ignored. This vulnerability is fixed in 5.2.4.

Scores

CVSSScoreVectorSource
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:NGitHub_M

Weaknesses

Affected Products

ProductVersions
webauthn-frameworkweb-auth
  • < 5.2.4Affected
webauthn-libweb-auth
  • < 5.2.4Affected
webauthn-symfony-bundleweb-auth
  • < 5.2.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.