web-auth/webauthn-lib: is it safe?

Short answer: Version 5.3.5 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

Composer web-auth/webauthn-lib has 3 known advisories in the phpwarden feed. Feed 2026.11.23.2, updated 2026-11-23.

3advisories
0critical
0on CISA KEV
0no fix recorded
CVETitleSeverityCVSSAffectedFixed in
CVE-2024-39912The FIDO2/Webauthn Support for PHP library allows enumeration of valid usernamesmedium5.3>=4.5.0 and <4.9.04.9.0
CVE-2026-30964Webauthn Framework: allowed_origins collapses URL-like origins to host-only values, bypassing exact origin validationmedium5.4>=5.2.0 and <5.2.45.2.4
GHSA-gq4g-fpc9-vjfqWebauthn: SimpleFakeCredentialGenerator with an empty secret produces predictable fake credentials, weakening username enumeration protectiolow0.0>=4.9.0 and <5.3.55.3.5

Quick answers

Is web-auth/webauthn-lib safe to use?

Version 5.3.5 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

Is web-auth/webauthn-lib being actively exploited?

None of its 3 known vulnerabilities are on CISA's Known Exploited Vulnerabilities list today.

How do I check my own site?

Run `phpwarden deps composer.lock`. phpwarden compares the exact version you have installed with these advisories and lists only the ones that apply, exploited ones first.

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked
A version is vulnerable when it falls inside an affected range and below the fixed version. phpwarden applies these ranges to the exact versions in your lockfile or install, so you only see what applies to you.

Add this status to your README

phpwarden status badge

Maintainer of this package? The badge updates itself whenever the feed is rebuilt (twice a day). Add ?v=1.2.3 to the image address to show the status of one exact version.

[![phpwarden](https://phpwarden.io/badge/web-auth/webauthn-lib.svg)](https://phpwarden.io/packages/web-auth/webauthn-lib)