GHSA-m7gw-rffq-rxjm
Winter CMS has Stored Cross-site Scripting (XSS) in Asset Manager
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | winter/wn-cms-module | < 1.2.10 | 1.2.10 |
Details
As written in the advisory (Markdown source, shown as plain text).
## 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.
References
External links from the advisory. They lead to third-party sites.
- https://github.com/wintercms/winter/security/advisories/GHSA-m7gw-rffq-rxjm
- https://nvd.nist.gov/vuln/detail/CVE-2026-22254
- https://github.com/wintercms/winter/commit/8a7f74b004fcd19721764fc63af0cdb339d9fb65
- https://github.com/wintercms/winter
- https://github.com/wintercms/winter/releases/tag/v1.2.10