HighGHSA-8jjh-j3c2-cjcvCVE-2023-48701

Cross-site Scripting via uploaded assets

Published 22 Nov 2023 · Updated 16 Feb 2024

Affected packages

statamic/cmsComposer
Affected
<3.4.15
Fixed in
3.4.15
Update to the fixed version for your release line, for example:composer require statamic/cms:^3.4.15
statamic/cmsComposer
Affected
>=4.0.0 <4.36.0
Fixed in
4.36.0
Update to the fixed version for your release line, for example:composer require statamic/cms:^4.36.0

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.

Is GHSA-8jjh-j3c2-cjcv in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected statamic/cms, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.