MEDIUM4.9
GHSA-53vf-c43h-j2x9
Craft CMS vulnerable to potential information disclosure via unchecked asset relocation
Quick fix
GHSA-53vf-c43h-j2x9 — craftcms/cms: upgrade to the fixed version with the command below.
composer require craftcms/cms:^5.8.21Details
Authenticated users on a Craft installation could potentially expose sensitive assets via their user profile photo via maliciously crafted requests.
Users should update to the patched versions (5.8.21 and 4.16.17) to mitigate the issue.
Resources:
https://github.com/craftcms/cms/commit/4bcb0db554e273b66ce3b75263a13414c2368fc9
https://github.com/craftcms/cms/commit/4bcb0db554e273b66ce3b75263a13414c2368fc9
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/craftcms/cms
Introduced in:
5.0.0-RC1Fixed in: 5.8.21Fix
composer require craftcms/cms:^5.8.21Packagist/craftcms/cms
Introduced in:
4.0.0-RC1Fixed in: 4.16.17Fix
composer require craftcms/cms:^4.16.17