CVE-2026-22254 Winter Affected by Stored Cross-Site Scripting (XSS) in Asset Manager

None 0.0 Published Updated

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.

Weakness: CWE-80, CWE-79

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.

PackageAffectedFixed in
winter/wn-cms-module PackagistAll versions1.2.10
winter/wn-cms-module PackagistAll versions1.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.

Sources

Also known as GHSA-m7gw-rffq-rxjm.

Is CVE-2026-22254 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free