CVE-2022-21705
HIGH 7.2CVSS 3.1Authenticated remote code execution in October CMS
Octobercms is a self-hosted CMS platform based on the Laravel PHP Framework. In affected versions user input was not properly sanitized before rendering. An authenticated user with the permissions to create, modify and delete website pages can exploit this vulnerability to bypass cms.safe_mode / cms.enableSafeMode in order to execute arbitrary code. This issue only affects admin panels that rely on safe mode and restricted permissions. To exploit this vulnerability, an attacker must first have access to the backend area. The issue has been patched in Build 474 (v1.0.474) and v1.1.10. Users unable to upgrade should apply https://github.com/octobercms/library/commit/c393c5ce9ca2c5acc3ed6c9bb0dab5ffd61965fe to your installation manually.
- Published
- 23 Feb 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-74
- Also known as
- GHSA-79jw-2f46-wv22
- Sources
- NVDJSONOSV GHSA-79jw-2f46-wv22JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 8.5 | AV:N/AC:M/Au:S/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | octobercms | octobercpe:2.3:a:octobercms:october:*:*:*:*:*:*:*:* |
< 1.0.474 | 1.0.474 |
| NVD | octobercms | octobercpe:2.3:a:octobercms:october:*:*:*:*:*:*:*:* |
>= 1.1.0, < 1.1.10 | 1.1.10 |
| NVD | octobercms | octobercpe:2.3:a:octobercms:october:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.1.27 | 2.1.27 |
| OSV | Packagist | october/system | < 1.0.474 | 1.0.474 |
| OSV | Packagist | october/system | >= 1.1.0, < 1.1.10 | 1.1.10 |
| OSV | Packagist | october/system | >= 2.0.0, < 2.1.27 | 2.1.27 |
References
- https://github.com/octobercms/library/commit/c393c5ce9ca2c5acc3ed6c9bb0dab5ffd61965fe · Patch, Third Party Advisory, WEB
- https://github.com/octobercms/october/security/advisories/GHSA-79jw-2f46-wv22 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-21705 · ADVISORY
- https://github.com/octobercms/october · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 23 Feb 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 23 Feb 2022)