# CVE-2023-44381: October CMS safe mode bypass using Page template injection

- Severity: Medium 4.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N`
- 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): 0.64%, higher than 51% of CVEs (2026-12-01)
- Published: 2023-11-29T21:33:16.000Z
- Modified: 2026-06-17T06:27:31.697Z
- Also known as: GHSA-q22j-5r3g-9hmh
- Weaknesses: CWE-94
- Assigned by: GitHub_M

## Description

October is a Content Management System (CMS) and web platform to assist with development workflow. An authenticated backend user with the `editor.cms_pages`, `editor.cms_layouts`, or `editor.cms_partials` permissions who would normally not be permitted to provide PHP code to be executed by the CMS due to `cms.safe_mode` being enabled can craft a special request to include PHP code in the CMS template. This issue has been patched in version 3.4.15.

(As written by CVE List.)

## Affected

- octobercms october: >= 3.0.0, < 3.4.15; from 3.0.0 before 3.4.15
- october/system (Packagist): from 3.0.0 before 3.4.15

## Every score

- GitHub_M: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/octobercms/october/security/advisories/GHSA-q22j-5r3g-9hmh> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-44381> (advisory)
- <https://github.com/octobercms/october> (package)

## Sources

- CVE List: [CVE-2023-44381](https://www.cve.org/CVERecord?id=CVE-2023-44381), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-q22j-5r3g-9hmh](https://github.com/advisories/GHSA-q22j-5r3g-9hmh), CC-BY-4.0, modified 2023-12-04
- NVD: [CVE-2023-44381](https://nvd.nist.gov/vuln/detail/CVE-2023-44381), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-44381 · Whole record: https://cve.day/CVE-2023-44381.json · Rebuilt by cve.day 2026-11-25T22:58:30.867Z
