Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-54149

HIGH 8.5EPSS 54%

Winter CMS Modules allows a sandbox bypass in Twig templates leading to data modification and deletion

Also known as GHSA-xhw3-4j3m-hq53

Mitigation

  • Upgrade winter/wn-cms-module to one of 1.2.7, 1.1.11, 1.0.476 (or later in the same release line).

Who should check

  • Projects that depend on Packagist package winter/wn-cms-module (>= 1.2.0, < 1.2.7)
  • Anyone running wintercms winter >= 1.2.0, < 1.2.7; >= 1.1.0, < 1.1.11; < 1.0.476

Vulnerability facts

Affected
winter/wn-cms-module >= 1.2.0, < 1.2.7
Fixed in
1.2.7, 1.1.11, 1.0.476
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
8.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: High
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.82% chance of exploitation in 30 days (percentile 54, 2026-11-26)
CWE
CWE-184
Published
Modified

Description

Winter is a free, open-source content management system (CMS) based on the Laravel PHP framework. Winter CMS prior to versions 1.2.7, 1.1.11, and 1.0.476 allow users with access to the CMS templates sections that modify Twig files to bypass the sandbox placed on Twig files and modify resources such as theme customisation values or modify, or remove, templates in the theme even if not provided direct access via the permissions. As all objects passed through to Twig are references to the live objects, it is also possible to also manipulate model data if models are passed directly to Twig, including changing attributes or even removing records entirely. In most cases, this is unwanted behavior and potentially dangerous. 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_layouts`; `cms.manage_pages`; or `cms.manage_partials`. The Winter CMS maintainers strongly recommend that these permissions only be reserved to trusted administrators and developers in general. The maintainers of Winter CMS have significantly increased the scope of the sandbox, effectively making all models and datasources read-only in Twig, in versions 1.2.7, 1.1.11, and 1.0.476. Thse who cannot upgrade may apply commit fb88e6fabde3b3278ce1844e581c87dcf7daee22 to their Winter CMS installation manually to resolve the issue. In the rare event that a Winter user was relying on being able to write to models/datasources within their Twig templates, they should instead use or create components to make changes to their models.

Affected and fixed versions

Package / productAffectedFixedSource
Packagist winter/wn-cms-module>= 1.2.0, < 1.2.71.2.7, 1.1.11, 1.0.476osv
wintercms winter>= 1.2.0, < 1.2.7; >= 1.1.0, < 1.1.11; < 1.0.476—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-54149. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-54149.md
Affected: winter/wn-cms-module >= 1.2.0, < 1.2.7
Fixed in: 1.2.7, 1.1.11, 1.0.476

Steps:
1. Search this machine and project for winter/wn-cms-module (Packagist), wintercms winter: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-54149 being exploited?

There is no confirmed exploitation: CVE-2024-54149 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.82% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-54149?

High: CVSS 8.5 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2024-54149?

winter/wn-cms-module >= 1.2.0, < 1.2.7.

Is there a fix for CVE-2024-54149?

Yes. Fixed in 1.2.7, 1.1.11, 1.0.476. Upgrade winter/wn-cms-module to one of 1.2.7, 1.1.11, 1.0.476 (or later in the same release line).

How do I check if I'm affected by CVE-2024-54149?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors