CVE-2022-37251
MEDIUM 5.4CVSS 3.1Craft CMS vulnerable to Cross-site Scripting via entry revisions and drafts
Craft CMS 4.2.0.1 is vulnerable to Cross Site Scripting (XSS) via Drafts.
- Published
- 16 Sep 2022
- Last modified
- 9 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-mw37-wx8p-gp45
- Sources
- NVDJSONOSV GHSA-mw37-wx8p-gp45JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:4.2.0.1:*:*:*:*:*:*:* |
= 4.2.0.1 | |
| OSV | Packagist | craftcms/cms | >= 3.7.0-beta.1, < 3.7.55.2 | 3.7.55.2 |
| OSV | Packagist | craftcms/cms | >= 4.0.0-RC1, < 4.2.1 | 4.2.1 |
References
- https://labs.integrity.pt/advisories/cve-2022-37251/ · Third Party Advisory, WEB
- 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
- http://craft.com · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 16 Sep 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 17 Sep 2022)