CVE-2026-22254: Winter CMS has Stored Cross-site Scripting (XSS) in Asset Manager
Impact Affected versions of Winter CMS allow users with access to the CMS Asset Manager were able to upload SVGs without automatic sanitization. To actively exploit this security issue, an attacker would need access to the Backend with a user account with the following permission: cms.manageassets The Winter CMS maintainers strongly recommend that the cms.manageassets permission only be reserved to trusted…
Published Feb 4, 2026 · Updated Feb 6, 2026
Affected packages
winter/wn-cms-module
- Ecosystem
- Composer (PHP)
- Affected
- <= 1.2.9
- Fixed in
- 1.2.10
- Check
composer show winter/wn-cms-module
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
Affected versions of Winter CMS allow users with access to the CMS Asset Manager were able to upload SVGs without automatic sanitization.
To actively exploit this security issue, an attacker would need access to the Backend with a user account with the following permission: cms.manage_assets
The Winter CMS maintainers strongly recommend that the cms.manage_assets permission only be reserved to trusted administrators and developers in general.
Patches
Sanitization of SVG assets is now applied automatically when uploading through the CMS Asset Manager.
This security issue has been fixed as of https://github.com/wintercms/winter/commit/8a7f74b004fcd19721764fc63af0cdb339d9fb65.
Workarounds
If users cannot upgrade, they may apply commit https://github.com/wintercms/winter/commit/8a7f74b004fcd19721764fc63af0cdb339d9fb65 to their Winter CMS installation manually to resolve this issue.
Credited to iamunixtz.
References
- https://github.com/wintercms/winter/security/advisories/GHSA-m7gw-rffq-rxjm
- https://github.com/wintercms/winter/commit/8a7f74b004fcd19721764fc63af0cdb339d9fb65
- https://nvd.nist.gov/vuln/detail/CVE-2026-22254
- https://github.com/wintercms/winter/releases/tag/v1.2.10
- https://github.com/advisories/GHSA-m7gw-rffq-rxjm
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
