GHSA-mw37-wx8p-gp45medium5.4
Craft CMS vulnerable to Cross-site Scripting via entry revisions and drafts
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
craftcms/cms Packagist
| Affected range | Recorded fix |
|---|---|
| From 3.7.0-beta.1 before 3.7.55.2Ecosystem versions | 3.7.55.2 |
| From 4.0.0-RC1 before 4.2.1Ecosystem versions | 4.2.1 |
Version evidence: OSV · GHSA-mw37-wx8p-gp45
View original version evidence (103 explicit versions)
Original source description
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.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2022-37251
- Patch github.com/craftcms/cms/commit/7139213dbd9e177a3528aac8e2db8de91830f118
- Patch github.com/craftcms/cms/commit/919c9074ff8596bf30a629b0888c529793e9a903
- Patch github.com/craftcms/cms/commit/f0d9b8a1e3ac005a2418f7d3d9059b49a96e73ea
- Source reference github.com/craftcms/cms
- Release notes github.com/craftcms/cms/blob/develop/CHANGELOG.md
- Security advisory labs.integrity.pt/advisories/cve-2022-37251
- Source reference craft.com/