Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. winter/wn-backend-module
  4. ›
  5. GHSA-7mpf-4465-7fc2

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

August 20, 2026

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.

References

  • github.com/advisories/GHSA-7mpf-4465-7fc2
  • github.com/wintercms/winter/commit/0941c9816181095fe35d58e78e6d0c4a49238967
  • github.com/wintercms/winter/releases/tag/v1.2.14
  • github.com/wintercms/winter/security/advisories/GHSA-7mpf-4465-7fc2

Code Behaviors & Features

Detect and mitigate GHSA-7mpf-4465-7fc2 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.1.0 before 1.2.14

Fixed versions

  • 1.2.14

Solution

Upgrade to version 1.2.14 or above.

Impact 2 LOW

CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/winter/wn-backend-module/GHSA-7mpf-4465-7fc2.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 21 Aug 2026 12:20:41 +0000.