Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Winter CMS backend with partial CMS permission
-
DeliveryIdentify out-of-scope template type to target (layout, partial, or asset)
-
ExploitCraft AJAX request to onDelete() or onUpload() handler targeting unauthorized template type
-
ExecutionHandler executes without per-type permission check
-
ImpactDelete theme templates or write arbitrary file to asset directory
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V8 - Authorization Insufficient permission handling
|
| Exploitation Conditions | Exploitation requires an authenticated session in the Winter CMS backend with at least one of the following five permissions: cms.manage_pages, cms.manage_partials, cms.manage_layouts, cms.manage_content, or cms.manage_assets. No special server configuration beyond a standard Winter CMS installation is required - the vulnerable AJAX handlers are available to any user passing the controller gate. The vulnerability is not exploitable by unauthenticated users or by accounts lacking all five CMS permissions. The practical risk is highest when the site operator has created restricted backend roles intended to limit access to only one template type (e.g., content editors who should only touch cms.manage_content); those restrictions are the ones bypassed. Installations where all backend users are trusted administrators with full permissions gain no new attack surface from this flaw. |
| Impact | The CVSS 3.1 base score of 6.8 (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N) correctly reflects the network vector and low complexity but appears to undercount integrity impact: the vulnerability permits template deletion and arbitrary file upload, not only confidentiality breaches. The vendor's C:H/I:N scoring may reflect a scope-change framing focused on cross-boundary reads, but the onUpload() path introduces concrete write impact that warrants I:H in an independent assessment. PR:H accurately captures the prerequisite of an authenticated backend account; exploitation is not possible by unauthenticated attackers. No EPSS data was provided, no CISA KEV listing exists, and no public proof-of-concept has been identified, making this a moderate real-world priority - highest for installations that rely on granular CMS permission delegation to partially-trusted backend users (e.g., content editors who should not touch layouts or upload assets). Organizations that do not use differentiated CMS permissions face no incremental risk from this vulnerability beyond that already accepted by granting any backend access. |
| Exploit ScenarioDerived | An attacker who holds a backend account restricted to cms.manage_pages (e.g., a content editor role) crafts an authenticated AJAX POST request to the onDelete() or onDeleteTemplates() handler, targeting a layout or partial template type instead of pages. Because no per-type permission check occurs in the handler, the request succeeds and the targeted template is deleted, potentially breaking theme rendering. In a second path, the same attacker uses the unrestricted AssetList.onUpload() handler to upload a PHP file (or other malicious asset) into the active theme's asset directory, which may be web-accessible depending on server configuration. No public proof-of-concept exists at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 12, 2026
Broken access control in Winter CMS (composer/winter/wn-cms-module ≤ 1.2.12) allows any authenticated backend user holding at least one Theme Editor permission to pivot beyond their authorized scope via crafted AJAX requests. The Cms\Controllers\Index controller gated section access with OR-logic across five permissions but individual handlers - onSave(), onDelete(), onDeleteTemplates(), and AssetList.onUpload() - performed no per-template-type authorization check, enabling cross-template actions such as deleting layouts, modifying partials, reading content files, and uploading arbitrary files to the active theme asset directory. No public exploit code has been identified and the vulnerability is not listed in CISA KEV; vendor-released fix is v1.2.13.
RemediationAI
The primary fix is upgrading to Winter CMS v1.2.13, which enforces per-template-type permission checks on all Theme Editor AJAX handlers, restricts AssetList widget registration to users holding cms.manage_assets, and adds validateRequestTheme() to the onUpload() handler. The release is available at https://github.com/wintercms/winter/releases/tag/v1.2.13 and the advisory is at https://github.com/wintercms/winter/security/advisories/GHSA-5c4f-9pq9-6c77. For installations that cannot immediately upgrade, the vendor documents a manual workaround in the advisory: (1) wrap each widget registration in the Cms\Controllers\Index constructor with the corresponding hasAccess() check and add validateRequestType() calls to index_onOpenTemplate(), onSave(), onCreateTemplate(), onDeleteTemplates(), onDelete(), onCommit(), and onReset(); (2) add $this->validateRequestTheme() to the top of AssetList.onUpload(). These manual patches carry the trade-off of being version-coupled - they must be reapplied after any core module update - and should be treated as a temporary measure only.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Winter CMS is a PHP-based, Laravel-derived CMS whose backend Theme Editor exposes AJAX handlers through Cms\Controllers\Index (PHP Composer package pkg:composer/winter/wn-cms-module). The controller enforced entry-level access using boolean OR across five granular permissions (cms.manage_pages, cms.manage_partials, cms.manage_layouts, cms.manage_content, cms.manage_assets), creating an implicit assumption that downstream handlers would enforce their own scoped checks - which they did not. This is a textbook CWE-280 (Improper Handling of Insufficient Permissions or Privileges): the authorization boundary exists at the wrong architectural layer. A secondary misconfiguration compounded the issue: the AssetList widget was unconditionally registered for all users who passed the controller gate, and its onUpload() handler lacked the validateRequestTheme() call present on all other mutating handlers in the same widget, enabling unauthorized file writes to the active theme's asset directory.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
PR:H for required backend account; I:H added over vendor score to capture template deletion and arbitrary file upload; A:L for potential theme breakage from deleted templates.
Primary rating from Vendor (https://github.com/wintercms/winter).
CVSS VectorVendor: https://github.com/wintercms/winter
DescriptionCVE.org
Impact
Affected versions of Winter CMS did not enforce per-template-type permission checks in the CMS section's AJAX handlers. The CMS controller (Cms\Controllers\Index) used OR-logic across its five permissions (cms.manage_pages, cms.manage_partials, cms.manage_layouts, cms.manage_content, cms.manage_assets) to control access to the section as a whole, but individual handlers such as onSave(), onDelete(), and onDeleteTemplates() did not verify that the authenticated user holds the specific permission corresponding to the requested template type.
This allowed a backend user with any single Theme Editor permission (e.g. cms.manage_pages) to craft AJAX requests targeting template types outside their authorized scope - for example, deleting layouts, modifying partials, or reading content files.
In addition, the AssetList widget was registered for all users who passed the controller gate regardless of whether they held the cms.manage_assets permission, and its onUpload() handler was missing the validateRequestTheme() call that is present on all other mutating handlers in the same widget. This allowed unauthorized file uploads into the active theme's asset directory.
To actively exploit this security issue, an attacker would need access to the Backend with a user account with any of the following permissions:
cms.manage_pagescms.manage_partialscms.manage_layoutscms.manage_contentcms.manage_assets
The Winter CMS maintainers strongly recommend that all Winter CMS sites that rely on granular CMS permission assignments (specifically users with only access to cms.manage_content to only be able to edit content files through the Theme Editor) to update immediately.
Patches
Per-template-type permission checks are now enforced on all Theme Editor AJAX handlers, the AssetList widget is only registered for users with the cms.manage_assets permission, and onUpload() now includes theme validation consistent with the other mutating handlers.
This security issue has been fixed as of v1.2.13.
Workarounds
If users cannot upgrade, they may apply the following changes to their Winter CMS installation manually to resolve this issue:
- In
modules/cms/controllers/Index.php, wrap each widget registration in the constructor with the correspondinghasAccess()check, and add avalidateRequestType()call to theindex_onOpenTemplate(),onSave(),onCreateTemplate(),onDeleteTemplates(),onDelete(),onCommit(), andonReset()handlers that verifies the user holds the permission for the requested template type. - In
modules/cms/widgets/AssetList.php, add a$this->validateRequestTheme()call at the top of theonUpload()method.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-66643
GHSA-5c4f-9pq9-6c77
NVD
CVE.org
EPSS
VulDB
Exploit-DB