# CVE-2022-21705: Authenticated remote code execution in octobercms

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 8.65%, higher than 95% of CVEs (2026-12-01)
- Published: 2022-02-23T19:00:10.000Z
- Modified: 2026-06-17T04:26:48.307Z
- Also known as: GHSA-79jw-2f46-wv22
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- octobercms october: < 1.0.474; >= 1.1.0, < 1.1.10; >= 2.0.0, < 2.1.27; before 1.0.474; from 1.1.0 before 1.1.10; from 2.0.0 before 2.1.27
- october/system (Packagist): before 1.0.474; from 1.1.0 before 1.1.10; from 2.0.0 before 2.1.27

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 8.5 High `AV:N/AC:M/Au:S/C:C/I:C/A:C`

## References

- <https://github.com/octobercms/october/security/advisories/GHSA-79jw-2f46-wv22> (issue-tracking, patch, third-party-advisory, web)
- <https://github.com/octobercms/library/commit/c393c5ce9ca2c5acc3ed6c9bb0dab5ffd61965fe> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-21705> (advisory)
- <https://github.com/octobercms/october> (web)

## Sources

- CVE List: [CVE-2022-21705](https://www.cve.org/CVERecord?id=CVE-2022-21705), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-79jw-2f46-wv22](https://github.com/advisories/GHSA-79jw-2f46-wv22), CC-BY-4.0, modified 2024-02-19
- NVD: [CVE-2022-21705](https://nvd.nist.gov/vuln/detail/CVE-2022-21705), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-21705 · Whole record: https://cve.day/CVE-2022-21705.json · Rebuilt by cve.day 2026-11-25T22:58:09.801Z
