# CVE-2022-31454: Yii 2 v2.0.45 was discovered to contain a cross-site scripting (XSS) vulnerability via the endpoint /books.

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 35% of CVEs (2026-12-01)
- Published: 2023-07-28T00:00:00.000Z
- Modified: 2026-06-17T04:45:26.770Z
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

Yii 2 v2.0.45 was discovered to contain a cross-site scripting (XSS) vulnerability via the endpoint /books. NOTE: this is disputed by the vendor because the cve-2022-31454-8e8555c31fd3 page does not describe why /books has a relationship to Yii 2.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- yiiframework yii: 2.0.45

## References

- <https://medium.com/%40rohitgautam26/cve-2022-31454-8e8555c31fd3>

## Sources

- CVE List: [CVE-2022-31454](https://www.cve.org/CVERecord?id=CVE-2022-31454), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-31454](https://nvd.nist.gov/vuln/detail/CVE-2022-31454), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31454 · Whole record: https://cve.day/CVE-2022-31454.json · Rebuilt by cve.day 2026-11-25T22:58:19.488Z
