# Winter: Stored XSS through Brand Settings custom styles

High severity, published 2026-08-12. Update winter/wn-backend-module to 1.2.13 or later: composer update winter/wn-backend-module.

Canonical URL: https://buzzphp.com/security/ghsa-v7cf-8gh9-gxmj · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 8.1) |
| Published | 2026-08-12 |
| Updated | 2026-08-12 |
| CVE | [CVE-2026-32257](https://nvd.nist.gov/vuln/detail/CVE-2026-32257) |
| GHSA | [GHSA-v7cf-8gh9-gxmj](https://github.com/advisories/GHSA-v7cf-8gh9-gxmj) |
| Weakness | CWE-79 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| winter/wn-backend-module | <= 1.2.12 | 1.2.13 |

## What to do

Update winter/wn-backend-module to 1.2.13 or later: composer update winter/wn-backend-module.

Check which version you run with `composer show winter/wn-backend-module`, and every affected package with `composer audit`.

## About this advisory

Impact

Users with the backend.managebranding ("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.

## Links

- [GHSA-v7cf-8gh9-gxmj on GitHub](https://github.com/advisories/GHSA-v7cf-8gh9-gxmj)
- [CVE-2026-32257 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-32257)
- [All Composer security advisories](https://buzzphp.com/security)
