GHSA-7MPF-4465-7FC2
Vulnerability from github – Published: 2026-08-20 18:44 – Updated: 2026-08-20 18:44Impact
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
- https://github.com/wintercms/winter/security/advisories/GHSA-43w4-4j3c-jx29
- https://github.com/wintercms/winter/commit/0941c9816181095fe35d58e78e6d0c4a49238967
Credit to Seungyeon Park (@sy460129) for reporting the issue.
For more information
If you have any questions or comments about this advisory: - Email us at hello@wintercms.com
{
"affected": [
{
"package": {
"ecosystem": "Packagist",
"name": "winter/wn-backend-module"
},
"ranges": [
{
"events": [
{
"introduced": "1.1.0"
},
{
"fixed": "1.2.14"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2026-08-20T18:44:41Z",
"nvd_published_at": null,
"severity": "LOW"
},
"details": "### Impact\n\n`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 \u2014 including event handlers \u2014 into the backend list, executing in the session of whichever backend user viewed it.\n\nWinter core ships no `image` list column, so a default installation is unaffected. Exploitation requires a plugin that renders attacker-influenced values through one.\n\nThe 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.\n\nAs 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 \u2014 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.\n\n### Patches\n\n`evalImageTypeValue()` now escapes the image URL, along with the width and height taken from the column configuration, before interpolating them into the tag.\n\nThis security issue has been fixed as of **v1.2.14** (commit [`0941c9816181095fe35d58e78e6d0c4a49238967`](https://github.com/wintercms/winter/commit/0941c9816181095fe35d58e78e6d0c4a49238967)).\n\n### Workarounds\n\nApply the commit above to `modules/backend/widgets/Lists.php` manually if you are unable to upgrade to v1.2.14.\n\n### References\n\n- https://github.com/wintercms/winter/security/advisories/GHSA-43w4-4j3c-jx29\n- https://github.com/wintercms/winter/commit/0941c9816181095fe35d58e78e6d0c4a49238967\n\n\nCredit to Seungyeon Park ([@sy460129](https://github.com/sy460129)) for reporting the issue.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n- Email us at [hello@wintercms.com](mailto:hello@wintercms.com)",
"id": "GHSA-7mpf-4465-7fc2",
"modified": "2026-08-20T18:44:41Z",
"published": "2026-08-20T18:44:41Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/wintercms/winter/security/advisories/GHSA-7mpf-4465-7fc2"
},
{
"type": "WEB",
"url": "https://github.com/wintercms/winter/commit/0941c9816181095fe35d58e78e6d0c4a49238967"
},
{
"type": "PACKAGE",
"url": "https://github.com/wintercms/winter"
},
{
"type": "WEB",
"url": "https://github.com/wintercms/winter/releases/tag/v1.2.14"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N",
"type": "CVSS_V3"
}
],
"summary": "Winter: Stored XSS through Backend List widget image columns"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.