VDB
Sign up
MEDIUM5.4

GHSA-mw37-wx8p-gp45

Craft CMS vulnerable to Cross-site Scripting via entry revisions and drafts

Quick fix

GHSA-mw37-wx8p-gp45 — craftcms/cms: upgrade to the fixed version with the command below.

composer require craftcms/cms:^3.7.55.2

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/craftcms/cms
Introduced in: 3.7.0-beta.1Fixed in: 3.7.55.2
Fixcomposer require craftcms/cms:^3.7.55.2
Packagist/craftcms/cms
Introduced in: 4.0.0-RC1Fixed in: 4.2.1
Fixcomposer require craftcms/cms:^4.2.1

References