CriticalGHSA-x2j7-6hxm-87p3CVE-2021-27903
Craft CMS Remote Code Injection
Published 2 Jul 2021 · Updated 16 Feb 2024
Affected package
craftcms/cmsComposer
- Affected
- <3.6.7
- Fixed in
- 3.6.7
Update to the fixed version for your release line, for example:
composer require craftcms/cms:^3.6.7Details
An issue was discovered in Craft CMS before 3.6.7. In some circumstances, a potential Remote Code Execution vulnerability existed on sites that did not restrict administrative changes (if an attacker were somehow able to hijack an administrator's session).
Is GHSA-x2j7-6hxm-87p3 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected craftcms/cms, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.