{"id":"CVE-2023-44381","aliases":["CVE-2023-44381","GHSA-q22j-5r3g-9hmh"],"related":[],"kind":"vulnerability","state":"published","title":"October CMS safe mode bypass using Page template injection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nAn 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.\n\nThis is not a problem for anyone who trusts their users with those permissions to usually write & manage PHP within the CMS by not having `cms.safe_mode` enabled. Still, it would be a problem for anyone relying on `cms.safe_mode` to ensure that users with those permissions in production do not have access to write and execute arbitrary PHP.\n\n### Patches\n\nThis issue has been patched in v3.4.15.\n\n### Workarounds\n\nAs a workaround, remove the specified permissions from untrusted users.\n\n### References\n\nCredits to:\n- [Vasiliy Bodrov](https://github.com/whatev3n)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [hello@octobercms.com](mailto:hello@octobercms.com)","format":"markdown","source":"ghsa"},{"lang":"es","text":"October es Content Management System (CMS) y una plataforma web para ayudar con el flujo de trabajo de desarrollo. Un usuario backend autenticado con los permisos `editor.cms_pages`, `editor.cms_layouts` o `editor.cms_partials` a quien normalmente no se le permitiría proporcionar código PHP para que lo ejecute el CMS debido a que `cms.safe_mode` está habilitado puede manipular una solicitud especial para incluir código PHP en la plantilla CMS. Este problema se solucionó en la versión 3.4.15.","source":"nvd"}],"published":"2023-11-29T21:33:16.000Z","modified":"2026-06-17T06:27:31.697Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","score":4.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","score":4.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","score":4.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":">= 3.0.0, < 3.4.15","status":"affected"}],"vendor":"octobercms","product":"october","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.4.15"}],"ecosystem":"Packagist","package":"october/system","purl":"pkg:composer/october/system","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.0.0","fixed":"3.4.15"}],"vendor":"octobercms","product":"october","cpe":"cpe:2.3:a:octobercms:october:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/octobercms/october/security/advisories/GHSA-q22j-5r3g-9hmh","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-44381","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/octobercms/october","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-44381","url":"https://www.cve.org/CVERecord?id=CVE-2023-44381","licence":"CVE Terms of Use","modified":"2024-08-02T20:07:32.781Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q22j-5r3g-9hmh","url":"https://github.com/advisories/GHSA-q22j-5r3g-9hmh","licence":"CC-BY-4.0","modified":"2023-12-04T15:17:41.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-44381","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-44381","licence":"Public domain","modified":"2026-06-17T06:27:31.697Z"}],"updatedAt":"2026-11-25T22:58:30.867Z","epss":{"score":0.00635,"percentile":0.51779,"date":"2026-12-01T12:00:22.000Z"}}