# CVE-2022-37251: Craft CMS vulnerable to Cross-site Scripting via entry revisions and drafts

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/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.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2022-09-16T20:54:16.000Z
- Modified: 2026-07-09T01:17:38.333Z
- Also known as: GHSA-mw37-wx8p-gp45
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

Craft CMS 4.2.0.1 is vulnerable to Cross Site Scripting (XSS) via Drafts.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- craftcms/cms (Packagist): from 3.7.0-beta.1 before 3.7.55.2; from 4.0.0-RC1 before 4.2.1
- craftcms craft_cms: 4.2.0.1

## Every score

- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://labs.integrity.pt/advisories/cve-2022-37251/> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-37251> (advisory)
- <https://github.com/craftcms/cms/commit/7139213dbd9e177a3528aac8e2db8de91830f118> (web)
- <https://github.com/craftcms/cms/commit/919c9074ff8596bf30a629b0888c529793e9a903> (web)
- <https://github.com/craftcms/cms/commit/f0d9b8a1e3ac005a2418f7d3d9059b49a96e73ea> (web)
- <https://github.com/craftcms/cms> (package)
- <https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#421---2022-08-09> (web)
- <https://labs.integrity.pt/advisories/cve-2022-37251> (web)
- <http://craft.com> (web)

## Sources

- CVE List: [CVE-2022-37251](https://www.cve.org/CVERecord?id=CVE-2022-37251), CVE Terms of Use, modified 2026-07-09
- GitHub Advisory Database: [GHSA-mw37-wx8p-gp45](https://github.com/advisories/GHSA-mw37-wx8p-gp45), CC-BY-4.0, modified 2024-02-21
- NVD: [CVE-2022-37251](https://nvd.nist.gov/vuln/detail/CVE-2022-37251), Public domain, modified 2026-07-09

---

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