VDB
Sign up
MEDIUM5.4

GHSA-pcxq-28f6-m3fm

Firefly III vulnerable to image-based stored XSS

Quick fix

GHSA-pcxq-28f6-m3fm — grumpydictator/firefly-iii: upgrade to the fixed version with the command below.

composer require grumpydictator/firefly-iii:^4.7.17.3

Details

Firefly III before 4.7.17.3 is vulnerable to stored XSS due to lack of filtration of user-supplied data in image file content. The JavaScript code is executed during attachments/view/$file_id$ attachment viewing.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/grumpydictator/firefly-iii
Introduced in: 0Fixed in: 4.7.17.3
Fixcomposer require grumpydictator/firefly-iii:^4.7.17.3

References