Security advisoryCVE-2023-48701
Cross-site Scripting via uploaded assets
As published by the sources
Affected packages
- Affected
<3.4.15 || >=4.0.0,<4.36.0Fixed in3.4.154.36.0
Derived from the fixed versions above
What to do
Upgrade statamic/cms to the fixed version in your release line: 3.4.15, 4.36.0.
composer update statamic/cms --with-dependencies
To see which version you have installed, run composer show vendor/package. Running composer audit lists the known advisories that match your installed versions.
Quoted from the original advisory
Details
Impact
HTML files crafted to look like images may be uploaded regardless of mime validation. This is only applicable on front-end forms using the "Forms" feature containing an assets field, or within the control panel which requires authentication.
Patches
It has been patched on 3.4.15 and 4.36.0.
References
- Advisoryhttps://github.com/advisories/GHSA-8jjh-j3c2-cjcv
- Webhttps://github.com/statamic/cms/security/advisories/GHSA-8jjh-j3c2-cjcv
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2023-48701
- Packagehttps://github.com/statamic/cms
- Webhttps://github.com/statamic/cms/releases/tag/v3.4.15
- Webhttps://github.com/statamic/cms/releases/tag/v4.36.0