# CVE-2026-125338: Winter CMS: Stored XSS through cached Brand Settings and Editor Settings custom styles

- **Severity:** MEDIUM 4.5
- **CVSS:** 4.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.40% (percentile 25, 2026-11-28)
- **CWE:** CWE-79
- **Published:** 2026-11-10T20:03:19.875Z
- **Modified:** 2026-11-14T03:17:26.010Z

## Who should check

- Anyone running wintercms winter \< 1.2.14

## Description

Winter CMS is a content management system built on the Laravel PHP framework. Prior to 1.2.14, BrandSetting::renderCss() and EditorSetting::renderCss() store raw LESS compiler output with Cache::forever() but apply strip\_tags() only to the value returned on a cache miss. The first render after saving custom CSS appears sanitized while priming an unsafe cache entry, and later cache hits return unsanitized output into the backend style element, allowing a user with backend.manage\_branding or backend.manage\_editor to cause stored cross-site scripting when another backend page renders the styles. The styles also appear on unauthenticated backend sign-in, password restore, and password reset layouts. This issue is fixed in version 1.2.14.

## Affected and fixed versions

- wintercms winter: \< 1.2.14 (cvelist)

## Mitigation

- Upgrade winter to 1.2.14 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-125338. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-125338.md
Affected: wintercms winter < 1.2.14
Fixed in: wintercms winter 1.2.14

Steps:
1. Search this machine and project for wintercms winter: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-125338 being exploited?

There is no confirmed exploitation: CVE-2026-125338 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-125338?

Medium: CVSS 4.5 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-125338?

wintercms winter \< 1.2.14.

### Is there a fix for CVE-2026-125338?

Yes. Fixed in wintercms winter 1.2.14. Upgrade winter to 1.2.14 or later.

### How do I check if I'm affected by CVE-2026-125338?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/wintercms/winter/security/advisories/GHSA-5cwr-5jxg-pcf6>
- patch: <https://github.com/wintercms/winter/commit/c95d780ab54f3a3f74a94ae1667bf12b3c549d5d>
- other: <https://github.com/wintercms/winter/releases/tag/v1.2.14>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-125338>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-125338> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-125338>
