Wn backend module: Winter: Stored XSS through Editor Settings custom styles (CVE-2026-32258)
Winter CMS backend module versions 1.2.10 through 1.2.12 contain a stored cross-site scripting (XSS) vulnerability in the Editor Settings custom styles feature. Authenticated backend users with the 'backend.manage_editor' permission can inject malicious code via custom styles that are compiled and rendered without proper sanitization. This vulnerability has a high severity CVSS score of 8.1 but requires elevated permissions to exploit. The issue is patched in version 1.2.13 by applying sanitization to the compiled CSS output.
AI Analysis
Technical Summary
The Winter CMS backend module allows authenticated users with the 'backend.manage_editor' permission to provide custom styles through Settings → Editor Settings → Markup Styles. These styles are compiled using the LESS CSS parser and rendered on every backend page. Prior to version 1.2.13, the compiled CSS output was not sanitized, enabling a stored XSS vulnerability (CWE-79). An attacker with the required permission could inject malicious scripts that execute in the context of other backend users. The vulnerability is patched in version 1.2.13 by applying the PHP strip_tags() function to the compiled CSS output before rendering. A related issue exists in the custom CSS field under backend branding settings, addressed separately.
Potential Impact
Successful exploitation allows an authenticated backend user with 'backend.manage_editor' permission to execute arbitrary scripts in the context of other backend users, potentially leading to credential theft or session hijacking. However, exploitation requires trusted access with specific administrative permissions, limiting the attack surface. The vulnerability does not affect unauthenticated users or users without the required permission.
Mitigation Recommendations
A patch is available in Winter CMS backend module version 1.2.13, which sanitizes the compiled CSS output to prevent stored XSS. Users should upgrade to version 1.2.13 or later. If upgrading is not immediately possible, the patch can be applied manually from the referenced GitHub commit. Additionally, it is recommended to restrict the 'backend.manage_editor' permission to trusted administrators and developers only.
Wn backend module: Winter: Stored XSS through Editor Settings custom styles (CVE-2026-32258)
Description
Winter CMS backend module versions 1.2.10 through 1.2.12 contain a stored cross-site scripting (XSS) vulnerability in the Editor Settings custom styles feature. Authenticated backend users with the 'backend.manage_editor' permission can inject malicious code via custom styles that are compiled and rendered without proper sanitization. This vulnerability has a high severity CVSS score of 8.1 but requires elevated permissions to exploit. The issue is patched in version 1.2.13 by applying sanitization to the compiled CSS output.
CVSS v3.1
Score 8.1high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Winter CMS backend module allows authenticated users with the 'backend.manage_editor' permission to provide custom styles through Settings → Editor Settings → Markup Styles. These styles are compiled using the LESS CSS parser and rendered on every backend page. Prior to version 1.2.13, the compiled CSS output was not sanitized, enabling a stored XSS vulnerability (CWE-79). An attacker with the required permission could inject malicious scripts that execute in the context of other backend users. The vulnerability is patched in version 1.2.13 by applying the PHP strip_tags() function to the compiled CSS output before rendering. A related issue exists in the custom CSS field under backend branding settings, addressed separately.
Potential Impact
Successful exploitation allows an authenticated backend user with 'backend.manage_editor' permission to execute arbitrary scripts in the context of other backend users, potentially leading to credential theft or session hijacking. However, exploitation requires trusted access with specific administrative permissions, limiting the attack surface. The vulnerability does not affect unauthenticated users or users without the required permission.
Mitigation Recommendations
A patch is available in Winter CMS backend module version 1.2.13, which sanitizes the compiled CSS output to prevent stored XSS. Users should upgrade to version 1.2.13 or later. If upgrading is not immediately possible, the patch can be applied manually from the referenced GitHub commit. Additionally, it is recommended to restrict the 'backend.manage_editor' permission to trusted administrators and developers only.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-vgp4-2fc4-qff2
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-32258"]
- Ecosystems
- ["Packagist"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a7c9b39bf8831d539cdc770
Added to database: 08/12/2026, 16:11:37 UTC
Last enriched: 08/12/2026, 16:32:17 UTC
Last updated: 08/12/2026, 19:33:00 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.