{"id":"CVE-2026-32258","aliases":["EUVD-2026-66633","GHSA-vgp4-2fc4-qff2"],"status":"published","title":"Winter: Stored XSS through Editor Settings custom styles","description":"Winter is a free, open-source content management system (CMS) based on the Laravel PHP framework. From 1.2.10 through 1.2.12, authenticated backend users with the backend.manage_editor permission can store custom Markup Styles that are compiled by the LESS parser and rendered without sanitization on every backend page, allowing stored cross-site scripting. This issue is fixed in version 1.2.13.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00382,"percentile":0.32472,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2026-08-12T14:40:38Z","modified":"2026-10-28T02:30:51Z","fixes":[{"ecosystem":"Packagist","package":"winter/wn-backend-module","fixed_in":["1.2.13"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"winter/wn-backend-module","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.10"},{"fixed":"1.2.13"}]}]},{"source":"osv","ecosystem":"Packagist","package":"winter/wn-backend-module","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.10"},{"fixed":"1.2.13"}]}],"versions":["v1.2.10","v1.2.11","v1.2.12"]}],"products":[{"vendor":"wintercms","product":"winter"}],"references":[{"url":"https://github.com/wintercms/winter/security/advisories/GHSA-vgp4-2fc4-qff2","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/wintercms/winter/commit/d28f0b9474af79cfaa80eeb9d691f7a7c4469720","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/advisories/GHSA-vgp4-2fc4-qff2"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32258.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32258","tags":["advisory"]},{"url":"https://github.com/wintercms/winter","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-32258","title":"Winter: Stored XSS through Editor Settings custom styles","description":"Winter is a free, open-source content management system (CMS) based on the Laravel PHP framework. From 1.2.10 through 1.2.12, authenticated backend users with the backend.manage_editor permission can store custom Markup Styles that are compiled by the LESS parser and rendered without sanitization on every backend page, allowing stored cross-site scripting. This issue is fixed in version 1.2.13.","status":"published","published":"2026-08-26T16:49:06.852Z","modified":"2026-08-26T17:35:11.529Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:19:57.100857Z"}],"euvd":[{"id":"EUVD-2026-66633","description":"Winter is a free, open-source content management system (CMS) based on the Laravel PHP framework. From 1.2.10 through 1.2.12, authenticated backend users with the backend.manage_editor permission can store custom Markup Styles that are compiled by the LESS parser and rendered without sanitization on every backend page, allowing stored cross-site scripting. This issue is fixed in version 1.2.13.","status":"published","published":"2026-08-26T16:49:06Z","modified":"2026-08-26T17:35:11Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T18:01:30.08255Z"}],"ghsa":[{"id":"GHSA-vgp4-2fc4-qff2","title":"Winter: Stored XSS through Editor Settings custom styles","description":"### Impact                                                                                                       \n                                                                                                                   \nAuthenticated Backend Users with the `backend.manage_editor` (\"Manage editor settings\") permission can provide custom styles through **Settings → Editor Settings → Markup Styles** that are compiled through the LESS CSS parser and rendered on every backend page. Previously, the compiled output was not sanitized, which could have allowed a stored XSS attack.\n\nAlthough this is a valid security issue, it's important to note that its severity is relatively low. To exploit the vulnerability, an attacker would already need to have trusted access to the Winter CMS backend with a specific administrative permission. The Winter CMS                maintainers recommend that the `backend.manage_editor` permission only be granted to trusted administrators and developers.\n\nA related issue exists in the custom CSS field at **Settings → Customize Backend → Styles** (`backend.manage_branding` permission), which uses the same rendering mechanism and is addressed separately.\n\nAll users are advised to update to the latest version to ensure their systems remain secure.\n\n### Patches\n\nThis issue has been patched in v1.2.13. The `renderCss()` method now applies `strip_tags()` to compiled CSS output before returning it.\n\n### Workarounds\n\nApply [https://github.com/wintercms/winter/commit/d28f0b9474af79cfaa80eeb9d691f7a7c4469720](https://github.com/wintercms/winter/commit/d28f0b9474af79cfaa80eeb9d691f7a7c4469720) manually if unable to upgrade to v1.2.13.\n\n### Resources\n\n- CVE-2025-61674 (identical vulnerability in October CMS, patched in v3.7.13 and v4.0.12)","status":"published","published":"2026-08-12T14:40:38Z","modified":"2026-08-12T14:40:39Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:40:58.888637Z"}],"nvd":[{"id":"CVE-2026-32258","description":"Winter is a free, open-source content management system (CMS) based on the Laravel PHP framework. From 1.2.10 through 1.2.12, authenticated backend users with the backend.manage_editor permission can store custom Markup Styles that are compiled by the LESS parser and rendered without sanitization on every backend page, allowing stored cross-site scripting. This issue is fixed in version 1.2.13.","status":"published","published":"2026-08-26T17:16:53.41Z","modified":"2026-09-09T21:09:13.08Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:12:41.66469Z"}],"osv":[{"id":"CVE-2026-32258","title":"Winter: Stored XSS through Editor Settings custom styles","description":"Winter is a free, open-source content management system (CMS) based on the Laravel PHP framework. From 1.2.10 through 1.2.12, authenticated backend users with the backend.manage_editor permission can store custom Markup Styles that are compiled by the LESS parser and rendered without sanitization on every backend page, allowing stored cross-site scripting. This issue is fixed in version 1.2.13.","status":"published","published":"2026-08-26T16:49:06.852Z","modified":"2026-10-28T02:30:51.884677877Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:45:01.218144Z"},{"id":"GHSA-vgp4-2fc4-qff2","title":"Winter: Stored XSS through Editor Settings custom styles","description":"### Impact                                                                                                       \n                                                                                                                   \nAuthenticated Backend Users with the `backend.manage_editor` (\"Manage editor settings\") permission can provide custom styles through **Settings → Editor Settings → Markup Styles** that are compiled through the LESS CSS parser and rendered on every backend page. Previously, the compiled output was not sanitized, which could have allowed a stored XSS attack.\n\nAlthough this is a valid security issue, it's important to note that its severity is relatively low. To exploit the vulnerability, an attacker would already need to have trusted access to the Winter CMS backend with a specific administrative permission. The Winter CMS                maintainers recommend that the `backend.manage_editor` permission only be granted to trusted administrators and developers.\n\nA related issue exists in the custom CSS field at **Settings → Customize Backend → Styles** (`backend.manage_branding` permission), which uses the same rendering mechanism and is addressed separately.\n\nAll users are advised to update to the latest version to ensure their systems remain secure.\n\n### Patches\n\nThis issue has been patched in v1.2.13. The `renderCss()` method now applies `strip_tags()` to compiled CSS output before returning it.\n\n### Workarounds\n\nApply [https://github.com/wintercms/winter/commit/d28f0b9474af79cfaa80eeb9d691f7a7c4469720](https://github.com/wintercms/winter/commit/d28f0b9474af79cfaa80eeb9d691f7a7c4469720) manually if unable to upgrade to v1.2.13.\n\n### Resources\n\n- CVE-2025-61674 (identical vulnerability in October CMS, patched in v3.7.13 and v4.0.12)","status":"published","published":"2026-08-12T14:40:38Z","modified":"2026-08-12T14:56:06.645322Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:57.348035Z"}]}}
