Security mailing lists by PureSourceCode

CVE-2022-37246

MEDIUM 5.4CVSS 3.1

Craft CMS Cross-site Scripting vulnerability

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.

Published
21 Sep 2022
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-f546-v666-559x
Sources
NVDJSONOSV GHSA-f546-v666-559xJSON

Scores

SourceScored byVersionScoreVector / 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
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD craftcms craft_cms
cpe:2.3:a:craftcms:craft_cms:4.2.0.1:*:*:*:*:*:*:*
= 4.2.0.1
OSV Packagist craftcms/cms >= 4.0.0-RC1, < 4.2.1 4.2.1
OSV Packagist craftcms/cms >= 3.7.39, < 3.7.51 3.7.51

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 21 Sep 2022)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 22 Sep 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.