VDB
Sign up
MEDIUM5.4

GHSA-f546-v666-559x

Craft CMS Cross-site Scripting vulnerability

Quick fix

GHSA-f546-v666-559x — craftcms/cms: upgrade to the fixed version with the command below.

composer require craftcms/cms:^4.2.1

Details

Craft CMS 4.2.0.1 is affected by Cross Site Scripting (XSS) in the file src/web/assets/cp/src/js/BaseElementSelectInput.js and in specific on the line `label: elementInfo.label`.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/craftcms/cms
Introduced in: 4.0.0-RC1Fixed in: 4.2.1
Fixcomposer require craftcms/cms:^4.2.1
Packagist/craftcms/cms
Introduced in: 3.7.39Fixed in: 3.7.51
Fixcomposer require craftcms/cms:^3.7.51

References