You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
F3: CSV export does not neutralise spreadsheet formula injection #83
Found in ART Milestone 0 (#53). Code read at main032b522.
Problem
csv-table-hub-main/src/lib/export.ts:43-46 (escapeCsv) quotes values containing ", , or a newline. It does not neutralise values starting with =, +, -, @, tab or carriage return. The error-report and audit-report CSV exports contain user-supplied cell values, so opening an export in Excel can execute a formula payload such as =HYPERLINK(...).
Fix
Prefix such values with ' (OWASP CSV injection guidance) in escapeCsv. Check whether the XLSX path (json_to_sheet) needs the same treatment. Add vitest cases with formula payloads.
Activity
docs(art): Milestone 0 assessment, VCRM draft, ADR-0002 and ADR-0003 (#…
Merge pull request #86 from amar-python/fix/issue-83-csv-formula-inje…