# yiisoft/yii2-dev (Packagist) vulnerabilities

7 known vulnerabilities (2 high, 1 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://packagist.org/packages/yiisoft/yii2-dev

## Advisories (7)

### [CVE-2025-2689](https://cve.now/CVE-2025-2689): yiisoft Yii2 SortableIterator.php getIterator deserialization

- Severity: Medium 5.3
- Published: Mar 24, 2025
- Affected: through 2.0.45.

### [CVE-2021-3692](https://cve.now/CVE-2021-3692): Use of Predictable Algorithm in Random Number Generator in yiisoft/yii2

- Severity: High 8.1
- Published: Aug 10, 2021
- Affected: fixed in 2.0.43.

### [CVE-2021-3689](https://cve.now/CVE-2021-3689): Use of Predictable Algorithm in Random Number Generator in yiisoft/yii2

- Severity: High 8.1
- Published: Aug 10, 2021
- Affected: fixed in 2.0.43.

### [CVE-2018-8074](https://cve.now/CVE-2018-8074): Yii 2.x before 2.0.15 allows remote attackers to inject unintended search conditions via a variant of the CVE-2018-7269 attack in…

- Severity: Unrated
- Published: Mar 21, 2018
- Affected: from 2.0.0, fixed in 2.0.15.

### [CVE-2018-7269](https://cve.now/CVE-2018-7269): The findByCondition function in framework/db/ActiveRecord.php in Yii 2.x before 2.0.15 allows remote attackers to conduct SQL injection…

- Severity: Unrated
- Published: Mar 21, 2018
- Affected: fixed in 2.0.12.1; from 2.0.13, fixed in 2.0.13.2; from 2.0.14, fixed in 2.0.15.

### [CVE-2018-6009](https://cve.now/CVE-2018-6009): In Yii Framework 2.x before 2.0.14, the switchIdentity function in web/User.php did not regenerate the CSRF token upon a change of identity.

- Severity: Unrated
- Published: Jan 22, 2018
- Affected: from 2.0, fixed in 2.0.14.

### [CVE-2017-11516](https://cve.now/CVE-2017-11516): An XSS vulnerability exists in framework/views/errorHandler/exception.php in Yii Framework 2.0.12 affecting the exception screen when…

- Severity: Unrated
- Published: Jul 21, 2017
- Affected: from 2.0.12, fixed in 2.0.13.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/packagist/yiisoft/yii2-dev
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
