{"id":"CVE-2022-31454","details":"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.","modified":"2026-08-12T03:51:36.669125565Z","published":"2023-07-28T00:00:00Z","database_specific":{"cna_assigner":"mitre","isDisputed":true,"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31454.json"},"references":[{"type":"WEB","url":"https://medium.com/%40rohitgautam26/cve-2022-31454-8e8555c31fd3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31454.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31454"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/yiisoft/yii2","events":[{"introduced":"0792736b3512776a70bb96e47050855f55edf063"},{"last_affected":"0792736b3512776a70bb96e47050855f55edf063"}],"database_specific":{"source":"CPE_STRING","cpe":"cpe:2.3:a:yiiframework:yii:2.0.45:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.0.45"},{"last_affected":"2.0.45"}]}}],"versions":["2.0.45"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31454.json"}}],"schema_version":"1.9.0"}