Winter CMS: Stored XSS through cached Brand Settings and Editor Settings custom styles
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in winter/wn-backend-module 1.2.14.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| wintercms | <1.2.14 | ||
| packagist: winter/wn-backend-module | <=1.2.13 | 1.2.14 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in winter/wn-backend-module (Packagist), strongest first
Embed
A live severity badge for an advisory, README or ticket