Skip to content

winter

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

CVE-2024-54149Published 9 Dec 2024, 20:54 UTC

Real-world risk

1.2/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

8.5

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
winterNiche>= 1.2.0, < 1.2.7; >= 1.1.0, < 1.1.11; < 1.0.4761.2.7, 1.1.11, 1.0.476

What to do

Update to a fixed version: 1.2.7, 1.1.11, 1.0.476.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededHighAdmin or equivalentFrom the CVSS vector0.20
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.4% chance of exploitation in 30 days (percentile 40), as of 2026-12-05.

The arithmetic
  1. Prerequisites multiplied together0.140
  2. Threat T1: Nothing known0.850
  3. 10 × impact 1 × prerequisites 0.14 × threat 0.851.190
  4. Rounded to one decimal between 0.1 and 101.2

How the score works

Exploitation and evidence timeline

  1. 9 Dec 2024 Published
  2. 3 Dec 2026 Risk 1.2 (cvss fallback)

Weakness

CWE-184

References

Get alerts for winter

Free email or text alerts when a vulnerability in winter reaches risk 8 or higher. Nothing else.