{"id":"CVE-2023-37269","published":"2023-07-07T21:19:38Z","modified":"2025-02-13T16:56:39Z","title":"Winter CMS vulnerable to stored XSS through privileged upload of SVG file","vendor":"wintercms","product":"winter","tier":"tail","description":{"text":"Winter is a free, open-source content management system (CMS) based on the Laravel PHP framework. Users with the `backend.manage_branding` permission can upload SVGs as the application logo. Prior to version 1.2.3, SVG uploads were not sanitized, which could have allowed a stored cross-site scripting (XSS) attack. To exploit the vulnerability, an attacker would already need to have developer or super user level permissions in Winter CMS. This means they would already have extensive access and control within the system. Additionally, to execute the XSS, the attacker would need to convince the victim to directly visit the URL of the maliciously uploaded SVG, and the application would have to be using local storage where uploaded files are served under the same domain as the application itself instead of a CDN. This is because all SVGs in Winter CMS are rendered through an `img` tag, which prevents any payloads from being executed directly. These two factors significantly limit the potential harm of this vulnerability. This issue has been patched in v1.2.3 through the inclusion of full support for SVG uploads and automatic sanitization of uploaded SVG files. As a workaround, one may apply the patches manually.","provenance":"source","from":"CVE.org"},"cvss":{"score":2,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01919,"percentile":0.80466,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/wintercms/winter/security/advisories/GHSA-wjw2-4j7j-6gc3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/wintercms/storm/commit/186d85d8fea2cae43afc807d39f68553c24e56be","tags":["x_refsource_MISC"]},{"url":"https://github.com/wintercms/winter/commit/fa50b4c7489b67ea80072f8ac9fe5294fce1df1c","tags":["x_refsource_MISC"]},{"url":"https://github.com/wintercms/winter/releases/tag/v1.2.3","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/173520/WinterCMS-1.2.2-Cross-Site-Scripting.html","tags":[]}],"priority":{"score":22.5,"factors":[{"name":"EPSS percentile","points":16.09},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":1.4}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2023-07-15"},"first":{"date":"2023-07-15","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/51591"},"provenance":"source"},"vendorSlug":"wintercms","affectedVersions":[{"vendor":"wintercms","product":"winter","versions":["< 1.2.3"]}],"affected":[{"ecosystem":"Packagist","package":"wintercms/winter","vulnerableRanges":["<1.2.3"],"patched":["1.2.3"],"from":["GHSA-wjw2-4j7j-6gc3"],"provenance":"source"}],"summary":{"text":"Winter CMS, the open-source Laravel-based content management system, does not sanitize SVG files uploaded as the application logo through the backend.manage_branding permission, which enables stored cross-site scripting. An attacker would need developer or super user level permissions, would have to convince a victim to visit the URL of the malicious SVG directly, and the issue applies only where uploaded files are served from the application's own domain rather than a CDN.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:52:20Z"},"euvd":{"id":"EUVD-2023-2167","exploited":false,"provenance":"source"},"exploits":[{"id":51591,"url":"https://www.exploit-db.com/exploits/51591","title":"WinterCMS < 1.2.3 - Stored Cross-Site Scripting (XSS)","date":"2023-07-15","verified":false,"provenance":"source"}],"exploitRefs":["http://packetstormsecurity.com/files/173520/WinterCMS-1.2.2-Cross-Site-Scripting.html"],"lineage":{"packageHistory":[{"cve":"CVE-2022-39357","published":"2022-10-26","fixed":"1.2.1","kev":false,"link":{"from":"CVE-2022-39357","to":"CVE-2023-37269","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:wintercms/winter","fromFixed":"1.2.1","toFixed":"1.2.3","daysApart":254}]}},{"cve":"CVE-2023-37269","published":"2023-07-07","fixed":"1.2.3","kev":false}],"package":"Packagist:wintercms/winter"}}