PT-2026-24193 · Unknown · Webauthn-Lib

Dorakemon

·

Published

2026-03-10

·

Updated

2026-05-07

·

CVE-2026-30964

CVSS v3.1

5.4

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions web-auth/webauthn-lib versions prior to 5.2.4
Description The software’s origin validation process, when using the allowed origins configuration, reduces URL-like values to their host component, accepting matches based solely on the host. This prevents the implementation of exact origin policies, as scheme and port differences are ignored. Specifically, the CheckAllowedOrigins component uses parse url() to extract the host from both the configured allowed origins and the incoming clientDataJSON.origin. This reduction allows requests with differing schemes or ports to bypass the intended origin validation. This issue affects deployments utilizing the allowed origins setting and bypasses the exact-origin check required by WebAuthn standards. The vulnerable component is CheckAllowedOrigins.php. The vulnerable parameter is clientDataJSON.origin.
Recommendations Upgrade to version 5.2.4 or later to resolve this issue.

Exploit

Fix

Origin Validation Error

Weakness Enumeration

Related Identifiers

CVE-2026-30964
GHSA-F7PM-6HR8-7GGM

Affected Products

Webauthn-Lib