Medium

Bypass of CMS Safe Mode Security Feature

  • Disclosed: 15.07.2022
  • Updated: 11.10.2026 10:22

Impact

Authenticated users with permissions to create or modify theme template objects through the backend "CMS" editor can exploit this vulnerability to bypass the cms.enableSafeMode security feature if enabled (disables modification of PHP code through the web interface when enabled).

This is only an issue for Winter CMS instances that rely on the Safe Mode security feature to prevent privileged users from modifying the PHP code of CMS theme template objects through the web interface.

CVSS v3.1 Vector: AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C

Patches

Issue has been fixed in v1.0.475, v1.1.9, & v1.2.

Workarounds

Apply https://github.com/wintercms/storm/commit/03eb5ce3f2a271670574802b914f7bcaf07663c1 manually if unable to upgrade to v1.0.475, v1.1.9, or v1.2.0.

References

See https://github.com/octobercms/october/security/advisories/GHSA-79jw-2f46-wv22/.

Credit to David Miller for reporting the issue.

For more information

If you have any questions or comments about this advisory:

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package wintercms/winter < 1.0.475, >= 1.1.0, < 1.1.9 1.0.475, 1.1.9

References

CVSS score -
Weakness (CWE)
-
Platform
Composer
Package
wintercms/winter
Disclosed
15.07.2022
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-q37h-jhf3-85cj - CC BY 4.0

Vulnerability history: wintercms/winter

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
07.2022 03.2024
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • High 2
  • Medium 1
  • Low 1

Disclosures per year

  1. 2022: 2
  2. 2023: 1
  3. 2024: 1
  4. 2025: 0
  5. 2026: 0
  1. High · 8.8 CVE-2024-29686 <= 1.2.3 no fix
  2. Low · 2.0 CVE-2023-37269 < 1.2.3 1.2.3
  3. High · 8.1 CVE-2022-39357 >= 1.1.8, < 1.1.10, >= 1.2.0, < 1.2.1 1.1.10, 1.2.1
  4. Bypass of CMS Safe Mode Security Feature this entry
    Medium ghsa-q37h-jhf3-85cj < 1.0.475, >= 1.1.0, < 1.1.9 1.0.475, 1.1.9

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.