GHSA-29w6-c52g-m8jc: C5 Firefly III CSV Injection.
Summary CSV injection is a vulnerability where untrusted user input in CSV files can lead to unauthorized access or data manipulation. In my subsequent testing of the application. Details I discovered that there is an option to "Export Data" from the web app to your personal computer, which exports a "csv" file that can be opened with Excel software that supports macros.
Published Jan 31, 2024
Affected packages
grumpydictator/firefly-iii
- Ecosystem
- Composer (PHP)
- Affected
- < 6.1.7
- Fixed in
- 6.1.7
- Check
composer show grumpydictator/firefly-iii
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
CSV injection is a vulnerability where untrusted user input in CSV files can lead to unauthorized access or data manipulation. In my subsequent testing of the application.
Details
I discovered that there is an option to "Export Data" from the web app to your personal computer, which exports a "csv" file that can be opened with Excel software that supports macros.
P.S I discovered that the web application's is offering a demo-site that anyone may access to play with the web application. So, there's a chance that someone will export the data (CVS) from the demo site and execute it on their PC, giving the malicious actor a complete control over their machine. (if a user enters a malicious payload to the website).
PoC
You can check out my vulnerability report if you need more details/PoC with screenshots: (removed by JC5)
Impact
An attacker can exploit this by entering a specially crafted payload to one of the fields, and when a user export the csv file using the "Export Data" function, the attacker can potentiality can RCE.
Addendum by JC5, the developer of Firefly III
There is zero impact on normal users, even on vulnerable versions.
Credited to Ab4y98.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-50886
Project Firefly III has incorrect access control in the webhook management component
critical9.1No fixJun 15, 2026GHSA-6jq6-x4cx-qvcm
Firefly II has Stored XSS in Audit Log Entry view via piggy bank name (ale.twig)
medium5.1Jun 12, 2026GHSA-5q8v-j673-m5v4
Firefly III user API endpoints expose all users' information to any authenticated user (IDOR)
medium5.7Mar 7, 2026CVE-2024-37893
Firefly III has a MFA bypass in oauth flow
medium5.9Jun 17, 2024CVE-2024-22075
Firefly III allows webhooks HTML Injection.
medium6.5Jan 5, 2024
