CVE-2021-32649
PHP vulnerability analysis and mitigation

Overview

October CMS, a self-hosted content management system based on the Laravel PHP Framework, was found to contain a vulnerability (CVE-2021-32649) that affects versions prior to 1.0.473 and 1.1.6. The vulnerability allows attackers with backend privileges to execute PHP code through specially crafted Twig code in the template markup (GitHub Advisory).

Technical details

The vulnerability is classified as a Code Injection (CWE-94) issue, which is a more specific variant of Improper Neutralization of Special Elements in Output Used by a Downstream Component (CWE-74). The vulnerability has been assigned a CVSS v3.1 Base Score of 8.8 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability allows attackers with 'create, modify and delete website pages' privileges in the backend to execute arbitrary PHP code through template markup manipulation. This could potentially lead to complete system compromise with the same privileges as the web application (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in October CMS versions 1.0.473 and 1.1.6. For users unable to upgrade immediately, a manual patch can be applied by implementing the changes from commit 167b592 (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-21857HIGH8.3
  • PHPPHP
  • redaxo/source
NoYesJan 07, 2026
CVE-2025-68954HIGH7.5
  • PHPPHP
  • github.com/pterodactyl/wings
NoYesJan 06, 2026
CVE-2025-68456HIGH7
  • PHPPHP
  • cpe:2.3:a:craftcms:craft_cms
NoYesJan 05, 2026
CVE-2025-69197MEDIUM6.5
  • PHPPHP
  • pterodactyl/panel
NoYesJan 06, 2026
CVE-2026-22242MEDIUM4.9
  • PHPPHP
  • coreshop/core-shop
NoYesJan 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management