# Winter: Stored XSS through Brand Settings custom styles

Advisory record · `GHSA-v7cf-8gh9-gxmj`

- **Identifiers:** `GHSA-v7cf-8gh9-gxmj` · `CVE-2026-32257` · `PKSA-8fbj-xdrm-f43z`
- **State:** Confirmed
- **Severity:** CVSS 8.1 High
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 12 Aug 2026
- **Updated:** 12 Aug 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 12 Aug 2026, 14:40 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `winter/wn-backend-module` (Packagist): affected `<1.2.13`; fixed in `1.2.13`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Winter CMS backend module (winter/wn-backend-module) versions before 1.2.13 do not sanitize custom CSS compiled through the LESS parser in Settings → Customize Backend → Styles, which can lead to stored cross-site scripting. An attacker needs the backend.manage_branding permission, and can then run script in the backend of other users' sessions. Upgrade to version 1.2.13, or apply the referenced fix manually if upgrading is not possible.

Written 3 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.1 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0038, the 32nd percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:24 UTC: First seen by agentprime
- 31 Oct 2026, 14:24 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-v7cf-8gh9-gxmj)

## Sources

- [GitHub Advisory Database: GHSA-v7cf-8gh9-gxmj](https://github.com/advisories/GHSA-v7cf-8gh9-gxmj)
- [OSV: GHSA-v7cf-8gh9-gxmj](https://osv.dev/vulnerability/GHSA-v7cf-8gh9-gxmj)
- <https://github.com/wintercms/winter/security/advisories/GHSA-v7cf-8gh9-gxmj>
- <https://github.com/wintercms/winter/commit/d28f0b9474af79cfaa80eeb9d691f7a7c4469720>
- <https://github.com/wintercms/winter>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-v7cf-8gh9-gxmj>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-v7cf-8gh9-gxmj/>. Everything for agents: <https://agentprime.io/llms.txt>.
