CVE-2022-21705Octobercms October
High 7.2
Follow: this CVE · Octobercms · Octobercms October We alert you by email or Slack (account required).
- Priority
- 44
- CVSS 3.1
- 7.2
- EPSS
- 9.3% probability of exploitation in 30 days · percentile 96
- Auth required
- Yes
- Published
- Feb 23, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-74
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for October.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | october/system |
< 1.0.474 |
1.0.474 |
composer require "october/system:^1.0.474" |
| Packagist | october/system |
≥ 1.1.0 < 1.1.10 |
1.1.10 |
composer require "october/system:^1.1.10" |
| Packagist | october/system |
≥ 2.0.0 < 2.1.27 |
2.1.27 |
composer require "october/system:^2.1.27" |
Per OSV / GitHub Advisories (GHSA-79jw-2f46-wv22). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| octobercms | october | < 1.0.474 |
| octobercms | october | ≥ 1.1.0 < 1.1.10 |
| octobercms | october | ≥ 2.0.0 < 2.1.27 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory