GHSA-whrx-mmgr-gpcf
Snipe-IT has CSV formula injection in Activity Report export
Quick fix
GHSA-whrx-mmgr-gpcf — snipe/snipe-it: upgrade to the fixed version with the command below.
composer require snipe/snipe-it:^8.6.2Details
### Impact In Snipe-IT v8.6.1 and lower, `Actionlog::logaction()` stores the request User-Agent header in user_agent. That value is later included in the Activity Report CSV export by `ReportsController::postActivityReport()` and written with plain `fputcsv()`.
A low-privileged authenticated user can set a formula-like User-Agent, perform a logged action, and have that value stored in the activity log. If an admin or report viewer later exports the Activity Report and opens it in spreadsheet software, the formula may execute.
Example payload:
`User-Agent: =HYPERLINK("https://example.com/","click")`
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/grokability/snipe-it/security/advisories/GHSA-whrx-mmgr-gpcf[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-55452[ADVISORY]
- https://github.com/grokability/snipe-it/commit/7b7d2c87fbc965a7933b1bf9e3f2c331b8c8e19c[WEB]
- https://github.com/grokability/snipe-it[PACKAGE]
- https://github.com/grokability/snipe-it/releases/tag/v8.5.0[WEB]