Description
Actual is a local-first personal finance tool. Prior to 26.6.0, exportToCSV and exportQueryToCSV in packages/loot-core/src/server/transactions/export/export-to-csv.ts pass user-controlled Payee, Notes, Account, and Category strings to csv-stringify with no cast callback and no formula-prefix neutralization. Strings that begin with equals sign, plus, minus, at sign, tab, or carriage return survive verbatim into the exported CSV, and when a recipient opens the file in Excel, LibreOffice Calc, or Google Sheets, the strings are interpreted as formulas, enabling transaction data exfiltration and attacker-chosen spreadsheet display values. This issue is fixed in version 26.6.0.
Problem types
CWE-1236: Improper Neutralization of Formula Elements in a CSV File
Product status
References
github.com/...actual/security/advisories/GHSA-xqjm-27pc-rvwm
github.com/...ommit/068185751c03b42e726e3c60b718413d5f96c306
github.com/actualbudget/actual/releases/tag/v26.6.0