{"answers":{"affected":"2 open source packages ship an affected version, including winter/wn-backend-module.","exploited":"There is no known exploitation of GHSA-7mpf-4465-7fc2 in the wild and no public exploit code.","fix":"Upgrade winter/wn-backend-module to 1.2.14 or later.","what":"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."},"fix_prompt":"Check this codebase for GHSA-7mpf-4465-7fc2 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of GHSA-7mpf-4465-7fc2 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- winter/wn-backend-module (Packagist): affected from 1.1.0; fixed in 1.2.14\n- winter/wn-backend-module (Packagist): affected from 1.1.0; fixed in 1.2.14\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-7mpf-4465-7fc2/ (Markdown: https://insights.sbomify.com/GHSA-7mpf-4465-7fc2/index.md)","id":"GHSA-7mpf-4465-7fc2","markdown":"https://insights.sbomify.com/GHSA-7mpf-4465-7fc2/index.md","name":"GHSA-7mpf-4465-7fc2","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover","data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Winter CMS","requires_auth":"low_privilege","summary":"Stored XSS in Winter CMS backend allows attackers to execute scripts in admin sessions if a plugin uses image list columns with unescaped URLs.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### 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 — including event handlers — 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 — 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\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)","ecosystems":["Packagist"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Winter: Stored XSS through Backend List widget image columns","id":"GHSA-7mpf-4465-7fc2","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["1.2.14"],"introduced":["1.1.0"],"last_affected":[],"package":"winter/wn-backend-module","purl":null,"source":"GHSA-7mpf-4465-7fc2"},{"ecosystem":"Packagist","fixed":["1.2.14"],"introduced":["1.1.0"],"last_affected":[],"package":"winter/wn-backend-module","purl":"pkg:composer/winter/wn-backend-module","source":"GHSA-7mpf-4465-7fc2"}],"products":null,"published":"2026-08-20","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Stored XSS in Winter CMS backend allows attackers to execute scripts in admin sessions if a plugin uses image list columns with unescaped URLs.","url":"https://insights.sbomify.com/GHSA-7mpf-4465-7fc2/"}