CVE-2023-50714Yiiframework Yii2-authclient
High 8.8 No auth needed
Follow: this CVE · Yiiframework · Yiiframework Yii2-authclient We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Yii2-authclient.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| yiiframework | yii2-authclient | < 2.2.15 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Product
- github.com Product
- github.com Patch
- github.com Exploit Third Party Advisory