---
id: "CVE-2026-125341"
page: "https://infrastack.ai/live/CVE-2026-125341"
kind: "vulnerability"
aliases: ["CVE-2026-125341", "GHSA-7mpf-4465-7fc2"]
title: "Winter: Stored XSS through Backend List widget image columns"
severity: "low"
cvss: 2.0
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "winter/wn-backend-module", "fixed": ["1.2.14"], "affected": ">= 1.1.0, < 1.2.14", "ecosystem": "composer"}]
ecosystems: ["composer"]
tags: ["cwe-79", "package", "php", "self-hosted", "winter-cms"]
not_affected_if: ["auth-required", "default-config", "no-image-list-column"]
published_at: "2026-08-20T18:44:41+00:00"
first_seen_at: "2026-11-10T20:10:42+00:00"
updated_at: "2026-11-10T20:12:35+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-7mpf-4465-7fc2", "first_seen_at": "2026-11-10T20:10:42+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125341", "first_seen_at": "2026-11-10T20:46:04+00:00"}]
exploit_sources: []
---

# Winter: Stored XSS through Backend List widget image columns

Link for people: https://infrastack.ai/live/CVE-2026-125341 (this .md is for agents)

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.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- composer:winter/wn-backend-module affected >= 1.1.0, < 1.2.14 fixed 1.2.14

## How to check

- Check the version of `composer:winter/wn-backend-module` in `composer.lock`; affected versions are `>= 1.1.0, < 1.2.14`.
- Search plugins for list column definitions with `type: image` that show user-supplied values.

## Fix

- `winter/wn-backend-module`: upgrade to `1.2.14`
- If upgrading is not possible, the advisory says to apply the fix commit to `modules/backend/widgets/Lists.php` manually.

## Timeline

- 2026-11-10T20:10:42+00:00 ghsa https://github.com/advisories/GHSA-7mpf-4465-7fc2
- 2026-11-10T20:46:04+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-125341

## Documents

- [advisory] Maintainer's advisory: api.github.com https://api.github.com/repos/wintercms/winter/security-advisories/GHSA-7mpf-4465-7fc2
- [advisory] Maintainer's advisory: github.com https://github.com/wintercms/winter/security/advisories/GHSA-7mpf-4465-7fc2
- [fix] Patch: github.com https://github.com/wintercms/winter/commit/0941c9816181095fe35d58e78e6d0c4a49238967
- [fix] Release: github.com https://github.com/wintercms/winter/releases/tag/v1.2.14

## From the sources

### 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`](https://wintercms.com/docs/v1.2/docs/backend/lists#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](https://wintercms.com/docs/v1.2/docs/services/image-resizing#available-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`](https://github.com/wintercms/winter/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

- https://github.com/wintercms/winter/security/advisories/GHSA-43w4-4j3c-jx29
- https://github.com/wintercms/winter/commit/0941c9816181095fe35d58e78e6d0c4a49238967


Credit to Seungyeon Park ([@sy460129](https://github.com/sy460129)) for reporting the issue.

### For more information

If you have any questions or comments about this advisory:
- Email us at [hello@wintercms.com](mailto:hello@wintercms.com)

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
