ADVISORIES

GitHub Advisory Database

GHSA-8jjh-j3c2-cjcv

Cross-site Scripting via uploaded assets

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.

Affected packages

EcosystemPackageAffected versions
Packagiststatamic/cms
All versions before 3.4.15 (fixed in 3.4.15)
Packagiststatamic/cms
From 4.0.0 before 4.36.0 (fixed in 4.36.0)

References