Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to backend with manage_branding permission
-
DeliveryInject malicious LESS escape payload via Settings
-
ExploitCustomize Backend
-
InstallStyles
-
C2CSS compiled and stored in database unsanitized
-
ExecuteVictim admin loads any backend page
-
ImpactInjected script executes in victim's browser context
-
Step 8Session 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 |
| 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 |
| Exploit ScenarioDerived | A low-trust backend administrator granted the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N
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.
Primary rating from Vendor (https://github.com/wintercms/winter).
CVSS VectorVendor: https://github.com/wintercms/winter
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-66632
GHSA-v7cf-8gh9-gxmj
NVD
CVE.org
EPSS
Exploit-DB