Live threats

All CVEs / Yiiframework

CVE-2023-50714Yiiframework Yii2-authclient

High 8.8 No auth needed

Priority
68
CVSS 3.1
8.8
EPSS
0.6%
probability of exploitation in 30 days · percentile 42
Auth required
No
Published
Dec 22, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-347, CWE-918, CWE-287
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

yii2-authclient is an extension that adds OpenID, OAuth, OAuth2 and OpenId Connect consumers for the Yii framework 2.0. In yii2-authclient prior to version 2.2.15, the Oauth2 PKCE implementation is vulnerable in 2 ways. First, the `authCodeVerifier` should be removed after usage (similar to `authState`). Second, there is a risk for a `downgrade attack` if PKCE is being relied on for CSRF protection. Version 2.2.15 contains a patch for the issue. No known workarounds are available.

Original NVD text.

What to do

  1. Apply the vendor's security update for Yii2-authclient.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist yiisoft/yii2-authclient < 2.2.15 2.2.15 composer require "yiisoft/yii2-authclient:^2.2.15"

Per OSV / GitHub Advisories (GHSA-rw54-6826-c8j5). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
yiiframeworkyii2-authclient< 2.2.15

Official sources

References

Links published by the sources. Open them with care.