CVE-2026-125338
Winter CMS: 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.
Fixes and workarounds
Fix
winter/wn-backend-module (Packagist): OSV reports a fixed version 1.2.14. Check the advisory for supported release branches.
Source: OSV GHSA-5cwr-5jxg-pcf6Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| winter wintercms |
< 1.2.14 (affected) | CNA: GitHub_M |
winter/wn-backend-modulewinter/wn-backend-module
Packagist |
v1.0.473 (affected, Packagist) v1.0.474 (affected, Packagist) v1.0.475 (affected, Packagist) v1.1.10 (affected, Packagist) v1.1.11 (affected, Packagist) v1.1.2 (affected, Packagist) v1.1.3 (affected, Packagist) v1.1.4 (affected, Packagist) v1.1.5 (affected, Packagist) v1.1.6 (affected, Packagist) v1.1.7 (affected, Packagist) v1.1.8 (affected, Packagist) v1.1.9 (affected, Packagist) v1.2.0 (affected, Packagist) v1.2.1 (affected, Packagist) v1.2.10 (affected, Packagist) v1.2.11 (affected, Packagist) v1.2.12 (affected, Packagist) v1.2.13 (affected, Packagist) v1.2.2 (affected, Packagist) v1.2.3 (affected, Packagist) v1.2.4 (affected, Packagist) v1.2.5 (affected, Packagist) v1.2.6 (affected, Packagist) v1.2.7 (affected, Packagist) v1.2.8 (affected, Packagist) v1.2.9 (affected, Packagist) Ecosystem version events: introduced 0; fixed 1.2.14 Source events (ECOSYSTEM)
Other versions: unaffected |
OSV GHSA-5cwr-5jxg-pcf6 |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 4.5 medium |
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N | CNA: GitHub_M |
| 3.1 / 4.5 medium |
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N | NVD: [email protected] |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/wintercms/winter/security/advisories/GHSA-5cwr-5jxg-pcf6CNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/wintercms/winter/commit/c95d780ab54f3a3f74a94ae1667bf12b3c549d5dCNA: GitHub_M · x_refsource_MISC
- https://github.com/wintercms/winter/releases/tag/v1.2.14CNA: GitHub_M · x_refsource_MISC
- https://github.com/wintercms/winter/commit/c95d780ab54f3a3f74a94ae1667bf12b3c549d5d[email protected]
- https://github.com/wintercms/winter/releases/tag/v1.2.14[email protected]
- https://github.com/wintercms/winter/security/advisories/GHSA-5cwr-5jxg-pcf6[email protected]
- https://github.com/advisories/GHSA-5cwr-5jxg-pcf6OSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-5cwr-5jxg-pcf6OSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.