Firefly III before 4.7.17.3 is vulnerable to stored XSS due to lack of filtration of user-supplied data in image file names. The JavaScript code is executed during attachments/edit/$file_id$ attachment editing. NOTE: It is asserted that an attacker must have the same access rights as the user in order to be able to execute the vulnerability
https://github.com/firefly-iii/firefly-iii/issues/2337
https://github.com/firefly-iii/firefly-iii/compare/a70b7cc...7d482aa