GHSA-7mpf-4465-7fc2 Winter: Stored XSS through Backend List widget image columns

Not scored Published

Stored XSS in Winter CMS backend allows attackers to execute scripts in admin sessions if a plugin uses image list columns with unescaped URLs.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is GHSA-7mpf-4465-7fc2?

GHSA-7mpf-4465-7fc2 is a cross-site scripting vulnerability in winter/wn-backend-module, published on 20 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Impact

Backend\Widgets\Lists::evalImageTypeValue() interpolated the resolved image URL into a single-quoted src attribute without escaping it. Where a list column of type image rendered an attacker-influenced value, that value could break out of the attribute and inject arbitrary attributes — including event handlers — into the backend list, executing in the session of whichever backend user viewed it.

Winter core ships no image list column, so a default installation is unaffected. Exploitation requires a plugin that renders attacker-influenced values through one.

The supported image sources are plugins, themes, the Media Library, the uploads directory, and Attach\File models; an arbitrary external URL is not among them. ImageResizer::filterGetUrl() returns the value it was given when it cannot resolve an image, however, so an unsupported value reached the attribute verbatim rather than being rejected.

As with previous issues of this kind the severity is limited: an attacker must already be able to store the value, and a backend user must then open the affected list. Note that validating a stored URL was not necessarily sufficient — a payload can survive filter_var($url, FILTER_VALIDATE_URL), since / is valid both in a URL path and after a quoted HTML attribute value.

Patches

evalImageTypeValue() now escapes the image URL, along with the width and height taken from the column configuration, before interpolating them into the tag.

This security issue has been fixed as of v1.2.14 (commit 0941c9816181095fe35d58e78e6d0c4a49238967).

Workarounds

Apply the commit above to modules/backend/widgets/Lists.php manually if you are unable to upgrade to v1.2.14.

References

Credit to Seungyeon Park (@sy460129) for reporting the issue.

For more information

If you have any questions or comments about this advisory:

Which versions are affected by GHSA-7mpf-4465-7fc2?

2 open source packages ship an affected version, including winter/wn-backend-module.

PackageAffectedFixed in
winter/wn-backend-module PackagistFrom 1.1.01.2.14
winter/wn-backend-module PackagistFrom 1.1.01.2.14

How do I fix GHSA-7mpf-4465-7fc2?

Upgrade winter/wn-backend-module to 1.2.14 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 GHSA-7mpf-4465-7fc2 being exploited?

There is no known exploitation of GHSA-7mpf-4465-7fc2 in the wild and no public exploit code.

Sources

Is GHSA-7mpf-4465-7fc2 in your software?

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

Check your SBOMs for free