CVEvulnerability
CVE-2022-35944
7.2 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-10-13
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.2 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:L
- CVSS 3.1 ([email protected])
- 7.2 HIGH — CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-94
Description
October is a self-hosted Content Management System (CMS) platform based on the Laravel PHP Framework. This vulnerability only affects installations that rely on the safe mode restriction, commonly used when providing public access to the admin panel. Assuming an attacker has access to the admin panel and permission to open the "Editor" section, they can bypass the Safe Mode (`cms.safe_mode`) restriction to introduce new PHP code in a CMS template using a specially crafted request. The issue has been patched in versions 2.2.34 and 3.0.66.
Affected configurations
• octobercms october (< 2.2.34)
• octobercms october (>= 3.0.00 < 3.0.66)
Related
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- https://github.com/octobercms/october/security/advisories/GHSA-x4q7-m6fp-4v9v Third Party Advisory
- https://github.com/octobercms/october/security/advisories/GHSA-x4q7-m6fp-4v9v Third Party Advisory