Shellfeed logo Shellfeed

CVE-2026-125338 · MEDIUM (CVSS 4.5)

Summary: Winter CMS: Stored XSS through cached Brand Settings and Editor Settings custom styles

EPSS: 0.4% probability of exploitation in the next 30 days (percentile 34.3).

Details

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.

Severity

MEDIUM (CVSS 4.5) — vector CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N

Affected packages

  • Packagist winter/wn-backend-module [0 – 1.2.14]
  • GIT github.com/wintercms/winter [0 – 5f922c733a185f61b33eda674320c8690bffa4e2]

References

Posts about CVE-2026-125338