CVE-2021-27903
CRITICAL 9.8CVSS 3.1Craft CMS Remote Code Injection
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).
- Published
- 30 Jun 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-74CWE-862CWE-94
- Also known as
- GHSA-x2j7-6hxm-87p3
- Sources
- NVDJSONOSV GHSA-x2j7-6hxm-87p3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* |
< 3.6.7 | 3.6.7 |
| OSV | Packagist | craftcms/cms | < 3.6.7 | 3.6.7 |
References
- https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#367---2021-02-23 · Release Notes, Third Party Advisory, WEB
- https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#security · Release Notes, Third Party Advisory, WEB
- https://github.com/craftcms/cms/commit/c17728fa0bec11d3b82c34defe0930ed409aec38 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-27903 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 30 Jun 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 2 Jul 2021)