{"id":"CVE-2022-37251","aliases":["GHSA-mw37-wx8p-gp45"],"url":"https://o3.security/vulnerability/CVE-2022-37251","summary":"Craft CMS vulnerable to Cross-site Scripting via entry revisions and drafts","details":"Craft CMS `3.70-RC1`–`3.7.55.1` and `4.0.0-RC1`–`4.2.0.1` are vulnerable to Cross Site Scripting (XSS) via entry revisions and drafts. Versions `3.7.55.2` and `4.2.1` contain patches for this issue.","published":"2022-09-16T20:54:16Z","modified":"2026-08-12T03:51:10.289466282Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"craftcms/cms","fixedVersion":"3.7.55.2"},{"ecosystem":"Packagist","name":"craftcms/cms","fixedVersion":"4.2.1"}],"fix":{"url":"https://github.com/craftcms/cms/commit/7139213dbd9e177a3528aac8e2db8de91830f118","label":"craftcms/cms@7139213"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/37xxx/CVE-2022-37251.json"},{"type":"ADVISORY","url":"https://labs.integrity.pt/advisories/cve-2022-37251/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-37251"},{"type":"WEB","url":"https://github.com/craftcms/cms/commit/7139213dbd9e177a3528aac8e2db8de91830f118"},{"type":"WEB","url":"https://github.com/craftcms/cms/commit/919c9074ff8596bf30a629b0888c529793e9a903"},{"type":"WEB","url":"https://github.com/craftcms/cms/commit/f0d9b8a1e3ac005a2418f7d3d9059b49a96e73ea"},{"type":"PACKAGE","url":"https://github.com/craftcms/cms"},{"type":"WEB","url":"https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#421---2022-08-09"},{"type":"WEB","url":"https://labs.integrity.pt/advisories/cve-2022-37251"},{"type":"WEB","url":"http://craft.com"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:10.289466282Z"}}