CVE-2026-30964CWE-346

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

Medium · published March 10, 2026

CVSS v3.1
5.4
EPSS
0%
Percentile
9.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00199 · 9.2th percentile
Weakness
CWE-346 · Origin Validation Error
Published
2026-03-10T17:16Z
EPSS history
Timeline
  • 10 MAR 17:16Z
    Webauthn Framework: allowed_origins collapses URL-like origins to host-only values, bypassing exact origin validation
    cvelistv5