{"id":"CVE-2022-31454","aliases":["CVE-2022-31454"],"related":[],"kind":"vulnerability","state":"published","title":"Yii 2 v2.0.45 was discovered to contain a cross-site scripting (XSS) vulnerability via the endpoint /books.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se ha descubierto que Yii 2 v2.0.45 contiene una vulnerabilidad Cross-Site Scripting (XSS) a través del endpoint \"/books\".","source":"nvd"}],"published":"2023-07-28T00:00:00.000Z","modified":"2026-06-17T04:45:26.770Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","version":"2.0.45"}],"vendor":"yiiframework","product":"yii","cpe":"cpe:2.3:a:yiiframework:yii:2.0.45:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://medium.com/%40rohitgautam26/cve-2022-31454-8e8555c31fd3","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-31454","url":"https://www.cve.org/CVERecord?id=CVE-2022-31454","licence":"CVE Terms of Use","modified":"2024-08-03T07:19:05.670Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-31454","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31454","licence":"Public domain","modified":"2026-06-17T04:45:26.770Z"}],"updatedAt":"2026-11-25T22:58:19.488Z","epss":{"score":0.00395,"percentile":0.35811,"date":"2026-12-01T12:00:22.000Z"}}