Origin Validation Error Affecting web-auth/webauthn-lib package, versions <5.2.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-WEBAUTHWEBAUTHNLIB-15460791
  • published11 Mar 2026
  • disclosed10 Mar 2026
  • creditKen Watanabe

Introduced: 10 Mar 2026

CVE-2026-30964  (opens in a new tab)
CWE-346  (opens in a new tab)

How to fix?

Upgrade web-auth/webauthn-lib to version 5.2.4 or higher.

Overview

Affected versions of this package are vulnerable to Origin Validation Error in the CheckAllowedOrigins process. An attacker can bypass strict origin validation by submitting authentication or registration responses with a manipulated origin value that matches only the host component, allowing unauthorized origins differing by scheme or port to be accepted.

CVSS Base Scores

version 4.0
version 3.1