GitHub Advisoryadvisory · Packagist
GHSA-m7gw-rffq-rxjm Winter CMS has Stored Cross-site Scripting (XSS) in Asset Manager
LOW
Official page ↗
- Aliases
- CVE-2026-22254
- Ecosystem
- Packagist
- Packages
- winter/wn-cms-module
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2026-02-04
Affected packages
• Packagist winter/wn-cms-module: < 1.2.10 → fixed in 1.2.10
Description
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.
Related
Alias · CVE (1)
- CVE-2026-22254 Winter is a free, open-source content management system (CMS) based on the Laravel PHP framework. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/wintercms/winter/security/advisories/GHSA-m7gw-rffq-rxjm web
- https://nvd.nist.gov/vuln/detail/CVE-2026-22254 advisory
- https://github.com/wintercms/winter/commit/8a7f74b004fcd19721764fc63af0cdb339d9fb65 web
- https://github.com/wintercms/winter package
- https://github.com/wintercms/winter/releases/tag/v1.2.10 web