Quick answers
- Is This vulnerability exploited in the wild?
- No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
- How severe is This vulnerability?
- Medium severity, with a CVSS score of 4.5, published 20 August 2026.
- Which products and versions are affected?
- winter/wn-backend-module (Packagist) <= 1.2.13.
- Is there a fix for This vulnerability?
- A patch was published on 2026-08-20: Fix released in v1.2.14 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is This vulnerability attacked?
- It is attacked over the network, in a software library.
- Am I affected?
- Check whether you run winter/wn-backend-module (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
This vulnerability is a stored cross-site scripting (XSS) flaw in Winter CMS's BrandSetting::renderCss() and EditorSetting::renderCss() methods. The root cause is incomplete sanitization of LESS CSS compiler output: the raw compiled CSS is cached via Cache::forever() without sanitization, and strip_tags() is applied only when the cached value is first retrieved on a cache miss. Every subsequent cache hit returns the unsanitized HTML/CSS directly into the backend <style> element, allowing injected payloads to execute from the second page render onwards. The vulnerability requires high privileges (backend.manage_branding or backend.manage_editor permissions) and user interaction (viewing the affected page), but the impact is severe because the custom styles are rendered on all backend pages and also on unauthenticated sign-in, password restore, and password reset pages. The fix, released in v1.2.14, applies strip_tags() to the cached value when it is read back, neutralizing both new and previously poisoned cache entries.
Affected products
- Winter wn-backend-module <= 1.2.13
Timeline
- 2026-08-20: disclosed: Advisory published by Winter CMS
- 2026-08-20: patched: Fix released in v1.2.14