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

- Severity: Medium 4.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-08-20T18:44:54.000Z
- Modified: 2026-11-14T03:17:26.010Z
- Also known as: GHSA-5cwr-5jxg-pcf6
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- wintercms winter: < 1.2.14
- winter/wn-backend-module (Packagist): before 1.2.14

## Every score

- GitHub_M: CVSS:3.1 4.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 4.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N`

## References

- <https://github.com/wintercms/winter/security/advisories/GHSA-5cwr-5jxg-pcf6> (web)
- <https://github.com/wintercms/winter/commit/c95d780ab54f3a3f74a94ae1667bf12b3c549d5d> (web)
- <https://github.com/wintercms/winter/releases/tag/v1.2.14> (web)
- <https://github.com/wintercms/winter> (package)

## Sources

- CVE List: [CVE-2026-125338](https://www.cve.org/CVERecord?id=CVE-2026-125338), CVE Terms of Use, modified 2026-11-14
- GitHub Advisory Database: [GHSA-5cwr-5jxg-pcf6](https://github.com/advisories/GHSA-5cwr-5jxg-pcf6), CC-BY-4.0, modified 2026-11-10
- NVD: [CVE-2026-125338](https://nvd.nist.gov/vuln/detail/CVE-2026-125338), Public domain, modified 2026-11-14

---

Page: https://cve.day/CVE-2026-125338 · Whole record: https://cve.day/CVE-2026-125338.json · Rebuilt by cve.day 2026-11-25T22:59:50.216Z
