GHSA-whrx-mmgr-gpcf

Snipe-IT has CSV formula injection in Activity Report export

At a glance

Published
Updated
CVE
CVE-2026-55452
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Description

### 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")`

Affected packages

PackageVersions
Packagist · snipe/snipe-itintroduced 0, fixed 8.6.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database