Improper Handling of Insufficient Permissions or Privileges Affecting winter/wn-cms-module package, versions <1.2.13


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Handling of Insufficient Permissions or Privileges vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-WINTERWNCMSMODULE-18689685
  • published12 Aug 2026
  • disclosed12 Aug 2026
  • creditUnknown

Introduced: 12 Aug 2026

NewCVE-2026-32639  (opens in a new tab)
CWE-280  (opens in a new tab)

How to fix?

Upgrade winter/wn-cms-module to version 1.2.13 or higher.

Overview

Affected versions of this package are vulnerable to Improper Handling of Insufficient Permissions or Privileges in the Cms\Controllers\Index process. An attacker can gain unauthorized access to template types and upload assets by crafting AJAX requests with insufficient permission checks. This is only exploitable if the attacker has a backend user account with any single Theme Editor permission (such as cms.manage_pages, cms.manage_partials, cms.manage_layouts, cms.manage_content, or cms.manage_assets).

Workaround

This vulnerability can be mitigated by manually updating the permission checks in modules/cms/controllers/Index.php to wrap each widget registration with the appropriate hasAccess() check and adding validateRequestType() calls to relevant handlers. Additionally, add a $this->validateRequestTheme() call at the top of the onUpload() method in modules/cms/widgets/AssetList.php.

CVSS Base Scores

version 4.0
version 3.1