CVE-2026-125338
MEDIUM 4.5CVSS 3.1Winter: Stored XSS through cached Brand Settings and Editor Settings custom styles
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.
- Published
- 10 Nov 2026
- Last modified
- 14 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-5cwr-5jxg-pcf6
- Sources
- NVDJSONOSV GHSA-5cwr-5jxg-pcf6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | winter/wn-backend-module | < 1.2.14 | 1.2.14 |
References
- https://github.com/wintercms/winter/commit/c95d780ab54f3a3f74a94ae1667bf12b3c549d5d · WEB
- https://github.com/wintercms/winter/releases/tag/v1.2.14 · WEB
- https://github.com/wintercms/winter/security/advisories/GHSA-5cwr-5jxg-pcf6 · WEB
- https://github.com/wintercms/winter · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 10 Nov 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 20 Aug 2026)