CVE-2023-37269
MEDIUM 4.8CVSS 3.1Winter CMS stored XSS through privileged upload of SVG file
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.
- Published
- 7 Jul 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-wjw2-4j7j-6gc3
- Sources
- NVDJSONOSV GHSA-wjw2-4j7j-6gc3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 2.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 2.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | wintercms | wintercpe:2.3:a:wintercms:winter:*:*:*:*:*:*:*:* |
< 1.2.3 | 1.2.3 |
| OSV | Packagist | wintercms/winter | < 1.2.3 | 1.2.3 |
References
- http://packetstormsecurity.com/files/173520/WinterCMS-1.2.2-Cross-Site-Scripting.html · Exploit, Third Party Advisory, VDB Entry, WEB
- https://github.com/wintercms/storm/commit/186d85d8fea2cae43afc807d39f68553c24e56be · Patch, WEB
- https://github.com/wintercms/winter/commit/fa50b4c7489b67ea80072f8ac9fe5294fce1df1c · Patch, WEB
- https://github.com/wintercms/winter/releases/tag/v1.2.3 · Release Notes, WEB
- https://github.com/wintercms/winter/security/advisories/GHSA-wjw2-4j7j-6gc3 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-37269 · ADVISORY
- https://github.com/wintercms/winter · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 7 Jul 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 7 Jul 2023)