CVE-2026-125338
Medium 4.5No known exploitationFix availableWinter: Stored XSS through cached Brand Settings and Editor Settings custom styles
Vendor advisory: GHSA-5cwr-5jxg-pcf6
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 35% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-79
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| composer | winter/wn-backend-module | all versions up to and including 1.2.13 | 1.2.14 | GitHub Advisory Database |
Timeline
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-5cwr-5jxg-pcf6 (opens in a new tab)github-advisory
- https://github.com/wintercms/winter/commit/c95d780ab54f3a3f74a94ae1667bf12b3c549d5d (opens in a new tab)
- https://github.com/wintercms/winter/releases/tag/v1.2.14 (opens in a new tab)
- https://github.com/wintercms/winter/security/advisories/GHSA-5cwr-5jxg-pcf6 (opens in a new tab)