WINTER/WN-BACKEND-MODULE · CVE-2026-125341 · Package
FIX → 1.2.14
The Winter CMS backend list widget inserted an image URL into an HTML attribute without escaping it, so a crafted stored value can break out and add script event handlers. The script then runs in the session of any backend user who views that list.
first public Aug 19, 2026 · 2 sources
Could this affect your app?
Free first check from your website. Connect your repo for the full answer.
Only sites running Winter CMS 1.1.0 up to 1.2.13 that have a plugin rendering attacker-influenced values through an image list column. Winter core ships no such column, so a default installation is not affected. An attacker must already be able to store the value, and a backend user must open the affected list.
Not affected if auth-required, default-config, no-image-list-column
Who cares php, self-hosted, winter-cms
composer:winter/wn-backend-module in composer.lock; affected versions are >= 1.1.0, < 1.2.14.type: image that show user-supplied values.Upgrade to 1.2.14
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.
Check it with your coding agent
It reads this page and tells you if your code is affected.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
winter/wn-backend-module: upgrade to 1.2.14modules/backend/widgets/Lists.php manually./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).
Apply the commit above to modules/backend/widgets/Lists.php manually if you are unable to upgrade to v1.2.14.
Credit to Seungyeon Park (@sy460129) for reporting the issue.
If you have any questions or comments about this advisory:
This page as .md · .json · CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
GitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.