Advisory

GHSA-m7gw-rffq-rxjm

Also known as: CVE-2026-22254

Summary

Winter CMS has Stored Cross-site Scripting (XSS) in Asset Manager

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-02-04 21:32 UTC
Modified
2026-02-06 22:22 UTC

Affected packages and fixes

winter/wn-cms-module

Packagist · All systems

Affected

  • introduced 0, fixed 1.2.10 (ecosystem)

Fixed versions

1.2.10

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences