Skip to content
OpenAdvisories

Weakness (CWE)

CWE-1236: Improper Neutralization of Formula Elements in a CSV File

Base Incomplete

The product saves user-provided information into a Comma-Separated Value (CSV) file, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as a command when the file is opened by a spreadsheet product.

How to prevent it (3 mitigations)
  1. Implementation

    When generating CSV output, ensure that formula-sensitive metacharacters are effectively escaped or removed from all data before storage in the resultant CSV. Risky characters include '=' (equal), '+' (plus), '-' (minus), and '@' (at).

  2. Implementation

    If a field starts with a formula character, prepend it with a ' (single apostrophe), which prevents Excel from executing the formula.

  3. Architecture and Design

    Certain implementations of spreadsheet software might disallow formulas from executing if the file is untrusted, or if the file is not authored by the current user.

Source: MITRE CWE-1236

221 results · Feed

  • Medium 5.5

    Bahleel CsvExporter.php fputcsv csv injection

    A vulnerability was detected in Bahleel 0.1.0/0.1.1. Affected is the function fputcsv of the file app/Exporters/CsvExporter.php. The manipulation results in csv injection. The attack may be launched remotely. The project was informed of the problem early thro…

  • High 7.3

    Multiple vulnerabilities in Coupa’s Total Spend Management Platform

    CSV formula injection vulnerability in the export functionality of the Coupa Supplier Portal SaaS platform. The vulnerability arises because certain user-controlled data, such as event names or templates within the Tenders module, are not properly validated o…

  • Medium 4.1

    Tanium addressed an improper output sanitization vulnerability in Discover.

    Tanium addressed an improper output sanitization vulnerability in Discover.

  • Medium 5.4

    AzuraCast before 0.24.0 Stored CSV Formula Injection via Bulk Media Export

    AzuraCast before 0.24.0 contains a stored CSV formula injection vulnerability that allows station users with Media permission to persist formula-prefixed metadata via bulk media import. Attackers can import crafted titles, artists, or custom fields through /a…

  • High 7.1

    Ninja Forms WordPress Plugin < 3.15.4 Server-Side Validation Bypass via List Fields

    Ninja Forms plugin for WordPress before 3.15.4 contains an incomplete server-side validation vulnerability that allows unauthenticated attackers to submit arbitrary values to Checkbox List, Multi-Select List, Image List, Country, and State fields because NF_A…

  • Medium 5.3

    Joomla Extension - icagenda.com - CSV formula injection in the registrations export in iCagenda 3.5.0 to 4.0.16

    Joomla Extension - icagenda.com - CSV formula injection in the registrations export in iCagenda 3.5.0 to 4.0.16

  • High 7.1

    Tanium addressed an improper output sanitization vulnerability in Enforce.

    Tanium addressed an improper output sanitization vulnerability in Enforce.

  • High 7.1

    Tanium addressed an improper output sanitization vulnerability in Comply.

    Tanium addressed an improper output sanitization vulnerability in Comply.

  • Medium 4.6

    Part-DB: Spreadsheet Formula Injection in XLSX Part Exports

    Part-DB is an open source inventory management system for electronic components. Prior to version 2.13.2, Part-DB contains a spreadsheet formula injection vulnerability in the part import/export workflow. An authenticated user with permission to import parts …

  • Medium 5.4

    EspoCRM: CSV/Formula Injection sanitizer bypass via leading whitespace/control characters in export

    EspoCRM is an open source customer relationship management application. Prior to 9.3.9, application/Espo/Tools/Export/Format/Csv/Processor.php, application/Espo/Tools/Export/Format/Xlsx/OpenSpoutProcessor.php, and application/Espo/Tools/Export/Format/Xlsx/Php…

  • Medium 4.2

    Thelia before 3.1.2 and 3.2.x before 3.2.1 CSV Formula Injection via Exports

    Thelia before 3.1.2 and 3.2.x before 3.2.1 contains a CSV formula injection vulnerability that allows unauthenticated visitors to inject spreadsheet formulas by supplying crafted registration, checkout or newsletter fields. Attackers can submit names, address…

  • Medium 6.1

    Insufficient Neutralization of Formula Elements in CSV Exports

    User-controlled values are not sufficiently neutralized when included in CSV exports. Values originating from user input, including data submitted by authenticated users or received through external communication channels such as email, may be stored in field…

  • Medium 4.2

    OpenPanel through 2.3.0 CSV Formula Injection via Cohort Member Export

    OpenPanel through 2.3.0 contains a CSV formula injection vulnerability that allows unauthenticated attackers to embed spreadsheet formulas by supplying crafted profile IDs to the /track endpoint. Attackers can send tracking events with profile IDs like =HYPER…

  • Medium 5.4

    OpenClaw before 2026.8.1 CSV Formula Injection via Attendance Export

    OpenClaw versions before 2026.8.1 fail to neutralize spreadsheet formula characters in participant display names within attendance CSV exports. Attackers can inject formula-like cells that execute with spreadsheet user permissions when the export is opened in…

  • Medium 5.4

    OpenClaw before 2026.8.1 CSV Formula Injection via Session Labels

    OpenClaw (npm package `openclaw`) before 2026.8.1 does not neutralize leading characters that spreadsheet applications interpret as formulas when the Control UI exports session data to CSV. Although session labels were quoted as CSV text, a lower-trust partic…

  • Medium 5.4

    WWBN AVideo CSV Formula Injection via myComments.download.php

    WWBN AVideo through commit c3edcc274c389816d434acadac07ee78eaf330c1 contains a CSV formula injection vulnerability in the myComments.download.php endpoint that fails to sanitize spreadsheet formula prefixes in comment text. Authenticated users can inject form…

  • Medium 6.5

    Snipe-IT before 8.7.0 CSV Formula Injection via Location-Scoping Export

    Snipe-IT is an IT asset management application. In Snipe-IT master-branch builds after 8.6.3 (the code was never included in a tagged release), SettingsController::downloadLocationScopingReport streams the FMCS location-scoping mismatch report (GET /admin/set…

  • Medium 6.5

    Snipe-IT before 8.7.0 CSV Formula Injection via Asset Acceptance Report

    Snipe-IT through 8.6.3 does not neutralize formula elements in the "unaccepted assets" acceptance report CSV export. ReportsController::postAssetAcceptanceReport builds the CSV by hand (stripping commas and joining rows manually) and, unlike the six sibling e…

  • Medium 5.3

    Dell SCG 5.0 Appliance versions prior to 5.36.00.16 and Dell SCG 5.0 Application versions prior to 5.36.00.00, contains…

  • Medium 5.4

    wger before 2.6 CSV Formula Injection via member export

    wger before 2.6 fails to sanitize first_name and last_name fields in the gym member TSV export endpoint, allowing any gym member to inject spreadsheet formulas. Attackers can inject formulas like =HYPERLINK to exfiltrate admin data or execute code when admins…

  • Medium 4.6

    A CSV injection vulnerability exists in SYS600. Injected malicious formulas can add or modify data to the spreadsheet, …

  • Medium 6.3

    MongoSQL Transition Readiness Tool Improper Neutralization of Formula Elements in Generated Reports

    The MongoSQL Transition Readiness Tool writes database and collection names into its generated CSV reports without neutralizing leading characters that spreadsheet applications treat as formulas. A user with write privileges on the cluster can choose a namesp…

  • Medium 4.6

    Formula Injection in dool project

    Dool in versions up to 1.3.8 is vulnerable to a CSV injection vulnerability when exporting data to a CSV file, as it fails to sanitize cell content beginning with special formula characters like =, +, -, or @. A local attacker can exploit this by running a pr…

  • High 8.2

    exceljs through 4.4.0 CSV Formula Injection via Unescaped Cell Values

    exceljs through 4.4.0 fails to neutralize leading equals, plus, minus, or at signs in cell values written to CSV output. Attackers who can influence exported cell values can inject formulas that execute when the CSV file is opened in a spreadsheet application…

  • High 8.8
    CVE-2026-19501 Public exploit

    CVE-2026-19501

    CSV export functionality in Brainstorm Force SureForms version, <= 2.12.1, fails to neutralize spreadsheet formula characters in user-controlled form field names before generating CSV exports, which allows a remote attacker to execute spreadsheet formulas on …

  • Medium 6.1

    Velociraptor CSV Formula Injection in Export Pipeline

    When Microsoft Excel imports a CSV file, it executes cells beginning with certain characters as formulas, giving such CSV files arbitrary execution.  Velociraptor fails to sanitize such cells when exporting to CSV from various places such as the GUI, offline …

  • Critical 9.6

    TypeBot vulnerable to CSV injection in result export

    TypeBot is a chatbot builder tool. Version 3.16.1 has a CSV injection vulnerability in the result export functionality. The application does not sanitize or escape user-supplied input when generating CSV files. An attacker can inject spreadsheet formulas into…

  • Medium 4.7

    Shlink CSV Formula Injection via Visit Export CLI

    Shlink versions 5.0.0 through 5.1.5 contain a CSV formula injection vulnerability that allows unauthenticated remote attackers to plant spreadsheet formulas into exported visit data by supplying malicious values in User-Agent, Referer, or request path headers…

  • High 7.1

    BaserCMS provided by baserCMS Users Community contains a CSV file injection vulnerability. If a user downloads and open…

  • Medium 6.1

    Statamic: CSV formula injection in form submission exports

    Statamic is a Laravel and Git powered content management system (CMS). Prior to 5.73.24 and 6.20.1, form submission values in src/Forms/Exporters/CsvExporter.php were not neutralized for spreadsheet formula characters when exported to CSV. A submission contai…

  • High 8.0

    FacturaScripts: CSV formula injection in CSVExport allows authenticated low-priv users to plant payloads that execute when an admin opens the export

    ## Summary > **Live PoC verified 2026-04-30** against a stock FacturaScripts master at `127.0.0.1:8081`. A low-privilege user (`lowpriv`) created a customer with `nombre = "=SUM(1+1)*cmd|/c calc!A1"`. An admin then exported `ListCliente` to CSV via `?action=e…

  • Medium 4.5

    Incorrect neutralisation in the PrestaShop firmware

    In version 8.2.1 of PrestaShop, there is a vulnerability relating to the incorrect sanitisation of elements, caused by inadequate validation of the ‘Alias’ parameter in the ‘Update your address’ function. This flaw allows an attacker to inject malicious expre…

  • Medium 4.8

    Snipe-IT: CSV formula injection in Activity Report export

    Snipe-IT is an IT asset/license management system. Prior to 8.5.0, Actionlog::logaction() stores the request User-Agent header and ReportsController::postActivityReport() writes that value to the Activity Report CSV without formula escaping, allowing a low-pr…

  • Medium 4.2

    Actual: CSV Formula Injection in Transaction Export via Imported Payee/Notes Fields

    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 ca…

  • Medium 4.6

    Actual: CSV Formula Injection in `@actual-app/cli` `--format csv` Output via Custom `escapeCsv` Helper

    Actual is a local-first personal finance app. Prior to 26.6.0, @actual-app/cli ships a hand-rolled CSV serializer in packages/cli/src/output.ts used whenever the global --format csv option is passed, whose escapeCsv helper only handles RFC 4180 delimiter, quo…

  • Medium 6.9

    Poweradmin: CSV Injection in log export endpoints allows formula execution in spreadsheet applications

    Poweradmin is a web-based DNS administration tool for PowerDNS server. Versions prior to 4.2.4 and 4.3.3 are vulnerable to CSV Injection (Formula Injection) in its log export functionality. User-controlled data — specifically the username field — is written t…

  • High 8.8

    Code Injection in Mia Technologies' Pizzy Library

    Improper neutralization of formula elements in a CSV file vulnerability in MIA Technology Inc. Pizzy Library allows Code Injection. This issue affects Pizzy Library: from 1.0.0.26250 before 1.3.9.26250.

  • Medium —

    Spree: CSV Formula Injection in Customer Export

    ### Summary CSV formula injection (also known as formula injection or CSV injection) affects customer export. User-controlled values customer names, email addresses, and shipping addresses. When an administrator opens a crafted Export in Microsoft Excel or Li…

  • High 7.1

    HCL iControl was affected by Export CSV - CSV Injection vulnerability.

    HCL iControl was affected by Export CSV - CSV Injection vulnerability. It is vulnerable to a reflected cross-site scripting vulnerability. This was caused by an insufficient sanitation of input parameters. .

  • Medium 4.7

    SourceCodester Pharmacy Sales and Inventory System Supplier Creation export create_supplier csv injection

    A vulnerability was determined in SourceCodester Pharmacy Sales and Inventory System up to 1.0. This issue affects the function create_supplier of the file /Export_csv/export of the component Supplier Creation Interface. This manipulation of the argument Addr…