Firefly Iii · Firefly-Iii · CVE-2019-13645
**Name of the Vulnerable Software and Affected Versions**
Firefly III versions prior to 4.7.17.3
**Description**
The issue arises from a lack of filtration of user-supplied data in image file names, leading to stored XSS. The JavaScript code is executed during attachments/edit/$file id$ attachment editing. It is noted that an attacker must have the same access rights as the user to execute the vulnerability.
**Recommendations**
For versions prior to 4.7.17.3, update to version 4.7.17.3 or later to resolve the issue. As a temporary workaround, consider restricting access to the attachments/edit/$file id$ endpoint to minimize the risk of exploitation. Avoid using user-supplied data in image file names until the issue is resolved.