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).

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

CVE-2026-23622HIGH8.7
  • PHPPHP
  • alextselegidis/easyappointments
NoNoJan 15, 2026
CVE-2025-14894HIGH7.5
  • PHPPHP
  • livewire-filemanager/filemanager
NoNoJan 16, 2026
CVE-2026-23626MEDIUM6.8
  • PHPPHP
  • kimai/kimai
NoYesJan 18, 2026
CVE-2025-69198MEDIUM6
  • PHPPHP
  • pterodactyl/panel
NoYesJan 19, 2026
CVE-2026-23496MEDIUM5.4
  • PHPPHP
  • pimcore/web2print-tools-bundle
NoYesJan 15, 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