CVE-2026-22254 Winter Affected by Stored Cross-Site Scripting (XSS) in Asset Manager
Attackers with asset management permissions can upload malicious SVGs to execute scripts in other users' browsers.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-22254?
CVE-2026-22254 is a cross-site scripting vulnerability in wintercms winter, published on 6 Feb 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Winter is a free, open-source content management system (CMS) based on the Laravel PHP framework. Versions of Winter CMS before 1.2.10 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. This vulnerability is fixed in 1.2.10.
Which versions are affected by CVE-2026-22254?
2 open source packages ship an affected version, including winter/wn-cms-module. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
winter/wn-cms-module Packagist | All versions | 1.2.10 |
winter/wn-cms-module Packagist | All versions | 1.2.10 |
Products include Wintercms Winter.
How do I fix CVE-2026-22254?
Upgrade winter/wn-cms-module to 1.2.10 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-22254 being exploited?
There is no known exploitation of CVE-2026-22254 in the wild and no public exploit code.
Other vulnerabilities in wintercms winter
- CVE-2026-27591 Winter: Privilege escalation by authenticated backend users
- CVE-2024-54149 Winter CMS Modules allows a sandbox bypass in Twig templates leading to data modification and deletion
- CVE-2022-39357 Winter vulnerable to Prototype Pollution in Snowboard framework
- CVE-2024-29686 Winter CMS Server-Side Template Injection (SSTI) vulnerability
- CVE-2023-52085 Winter CMS Local File Inclusion through Server Side Template Injection
Sources
Also known as GHSA-m7gw-rffq-rxjm.