CVE-2023-50714
PHP vulnerability analysis and mitigation

Overview

CVE-2023-50714 affects yii2-authclient, an extension that adds OpenID, OAuth, OAuth2 and OpenId Connect consumers for the Yii framework 2.0. The vulnerability was discovered in versions prior to 2.2.15, where the OAuth2 PKCE (Proof Key for Code Exchange) implementation contained two critical security flaws. The issue was disclosed on December 22, 2023, and has been assigned a CVSS v3.1 base score of 8.8 HIGH by NIST (NVD).

Technical details

The vulnerability consists of two main issues in the OAuth2 PKCE implementation: First, the authCodeVerifier is not properly removed after usage (unlike the authState parameter). Second, there is a vulnerability to a downgrade attack when PKCE is being relied upon for CSRF protection. The issue affects the authentication flow in the OAuth2 implementation (GitHub Advisory).

Impact

The vulnerability could potentially allow attackers to bypass authentication mechanisms and perform unauthorized actions. With a CVSS score of 8.8 HIGH, the vulnerability has significant potential impact on both confidentiality and integrity of the affected systems, particularly in scenarios where PKCE is used for CSRF protection (NVD).

Exploitability

The vulnerability requires network access and user interaction to exploit, with high attack complexity as indicated by the CVSS metrics (AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H). No privilege level is required to attempt exploitation (NVD).

Mitigation and workarounds

The vulnerability has been patched in version 2.2.15 of yii2-authclient. The fix includes proper removal of the authCodeVerifier after usage and implementation of protection against PKCE downgrade attacks. No known workarounds are available, making upgrading to version 2.2.15 the only recommended solution (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-wg23-69c2-gjc8CRITICAL9.1
  • PHP logoPHP
  • craftcms/cms
NoYesAug 07, 2026
CVE-2026-71488HIGH7.5
  • PHP logoPHP
  • commonmark
NoYesAug 06, 2026
CVE-2026-62996MEDIUM6.9
  • PHP logoPHP
  • smarty/smarty
NoYesAug 07, 2026
CVE-2026-62992MEDIUM6.9
  • PHP logoPHP
  • smarty/smarty
NoYesAug 07, 2026
CVE-2026-71478MEDIUM6.1
  • PHP logoPHP
  • commonmark
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management