Loading...
Skip to main content
Packagist (PHP)

yiisoft/yii2 Known Vulnerabilities & Fixes

yiisoft/yii2 has 2 known security vulnerabilities in Packagist (PHP). Upgrade to version 2.0.52 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.

2 Vulnerabilities

Actively Exploited

CISA has confirmed this package has vulnerabilities under active exploitation. Prioritize updating immediately.

Recommended safe version: 2.0.52

Upgrading to 2.0.52 or later resolves all 2 known vulnerabilities in yiisoft/yii2. Run: composer require yiisoft/yii2:^2.0.52

Is yiisoft/yii2 in your project?

Check if you're affected and upgrade to 2.0.52 to stay secure.

2
Total
2
Critical
0
High
0
Medium
0
Low

Active Exploitation Warning

One or more vulnerabilities in this package are known to be actively exploited in the wild. Immediate action is recommended.

Security Summary

  • 2 affected version ranges have been identified across these 2 advisories.
  • 100% of known issues have a published fixed version.
  • Remediation: composer update yiisoft/yii2

Vulnerabilities

2 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed Sep 21, 2023, most recently Apr 10, 2025 (567 days apart).

CVE / GHSASeverityAffectedFixed In
CVE-2024-58136
yiisoft/yii2 Mishandles the Attaching of Behavior Defined by a `__class` Array Key
CRITICAL
2.0.0, 2.0.0-alpha, 2.0.0-beta, 2.0.0-rc (+72 more)2.0.52
CVE-2015-5467
Yii2 allows attackers to execute any local .php file via a relative path in the view parameter
CRITICAL
2.0.0, 2.0.1, 2.0.2, 2.0.3 (+1 more)2.0.5

About This Data

Vulnerability data for yiisoft/yii2 is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.

CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Related Packagist (PHP) Packages

Other packages in this ecosystem, ranked by shared vulnerabilities where available.

Check Your Dependencies

Scan your project to check if you're using a vulnerable version of yiisoft/yii2.

Data from OSV DatabaseUpdated daily200K+ vulnerabilities indexed