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

222 results · Feed

  • High 8.8
    CVE-2023-33410 Public exploit

    Minical 1.0.0 and earlier contains a CSV injection vulnerability which allows an attacker to execute remote code. The v…

  • Medium 5.0

    Improper Neutralization of Formula Elements in a CSV File in pimcore/customer-data-framework

    Improper Neutralization of Formula Elements in a CSV File in GitHub repository pimcore/customer-data-framework prior to 3.3.9.

  • Medium 5.4
    CVE-2023-29918 Public exploit

    RosarioSIS vulnerable to CSV Injection

    RosarioSIS 10.8.4 is vulnerable to CSV injection via the Periods Module.

  • High 7.8

    ChurchCRM 4.5.3 was discovered to contain a CSV injection vulnerability via the Last Name and First Name input fields w…

  • High 8.8

    Improper Neutralization of Formula Elements in a CSV File in alfio-event/alf.io

    Improper Neutralization of Formula Elements in a CSV File in GitHub repository alfio-event/alf.io prior to 2.0-M4-2304.

  • Medium 4.4

    Code Injection vulnerability in SAP Application Interface Framework (Message Dashboard)

    The SAP Application Interface Framework (Message Dashboard) - versions AIF 703, AIFX 702, S4CORE 101, SAP_BASIS 755, 756, SAP_ABA 75C, 75D, 75E, application allows an Excel formula injection. An authorized attacker can inject arbitrary Excel formulas into fie…

  • Medium 4.0

    A improper neutralization of formula elements in a CSV file vulnerability in Fortinet FortiAnalyzer 6.4.0 - 6.4.9, 7.0.…

  • Medium 5.5

    IBM Maximo Application Suite command injection

    IBM Maximo Asset Management 7.6.1.1, 7.6.1.2, 7.6.1.3 and the IBM Maximo Manage 8.3, 8.4 application in IBM Maximo Application Suite are vulnerable to CSV injection. IBM X-Force ID: 2306335.

  • Medium 6.3

    An issue was discovered in WeCube Platform 3.2.2. There are multiple CSV injection issues: the [Home / Admin / Resource…

  • Medium 5.8

    Appointment Hour Booking <= 1.3.72 - CSV Injection

    The Appointment Hour Booking Plugin for WordPress is vulnerable to CSV Injection in versions up to, and including, 1.3.72. This makes it possible for unauthenticated attackers to embed untrusted input into content during booking creation that may be exported …

  • High 8.0

    TEAM JOHNLONG SOFTWARE CO., LTD. MAILD Mail Server - Formula Injection

    A remote attacker with general user privilege can inject malicious code in the form content of Raiden MAILD Mail Server website. Other users export form content as CSV file can trigger arbitrary code execution and allow the attacker to perform arbitrary syste…

  • High 7.8
    CVE-2022-44830 Public exploit

    Sourcecodester Event Registration App v1.0 was discovered to contain multiple CSV injection vulnerabilities via the Fir…

  • Medium 6.8

    WordPress ProfileGrid plugin <= 5.1.6 - Auth. CSV Injection vulnerability

    Auth. (subscriber+) CSV Injection vulnerability in ProfileGrid plugin <= 5.1.6 on WordPress.

  • Critical 9.8

    WPForms Pro < 1.7.7 - CSV Injection

    The WPForms Pro WordPress plugin before 1.7.7 does not validate its form data when generating the exported CSV, which could lead to CSV injection.

  • High 7.4

    WordPress Activity Log plugin <= 2.8.3 - CSV Injection vulnerability

    CSV Injection vulnerability in Activity Log Team Activity Log <= 2.8.3 on WordPress.

  • Critical 9.8

    FluentForm < 4.3.13 - CSV Injection

    The Contact Form Plugin WordPress plugin before 4.3.13 does not validate and escape fields when exporting form entries as CSV, leading to a CSV injection

  • High 8.0

    Import and export users and customers < 1.20.5 - Subscriber+ CSV Injection

    The Import and export users and customers WordPress plugin before 1.20.5 does not properly escape data when exporting it via CSV files.

  • Medium 6.6

    Vulnerabilities in ArubaOS running on 7xxx series controllers exist that allows an attacker to execute arbitrary code d…

  • Critical 9.8

    "IBM InfoSphere Information Server 11.7 is potentially vulnerable to CSV Injection. A remote attacker could execute arb…

  • High 8.8

    CSV Injection in PHP Point of Sale version 19.0, by PHP Point of Sale, LLC

    The application was identified to have an CSV injection in data export functionality, allowing for malicious code to be embedded within export data and then triggered in exported data viewers.

  • Critical 9.8

    Post to CSV by BestWebSoft <= 1.4.0 - Author+ CSV Injection

    The Post to CSV by BestWebSoft WordPress plugin through 1.4.0 does not properly escape fields when exporting data as CSV, leading to a CSV injection

  • High 8.0

    ZKTeco Xiamen Information Technology ZKBio Time 8.0.7 Build: 20220721.14829 was discovered to contain a CSV injection v…

  • Medium 6.2

    WordPress Export Post Info plugin <= 1.2.0 - Authenticated CSV Injection vulnerability

    Authenticated (author+) CSV Injection vulnerability in Export Post Info plugin <= 1.2.0 at WordPress.

  • Medium 5.8

    Improper Neutralization of Formula Elements in a CSV File in ghas-to-csv

    some-natalie/ghas-to-csv (GitHub Advanced Security to CSV) is a GitHub action which scrapes the GitHub Advanced Security API and shoves it into a CSV. In affected versions this GitHub Action creates a CSV file without sanitizing the output of the APIs. If an …

  • Unscored —

    Affiliates Manager < 2.9.14 - Affiliate CSV Injection

    The Affiliates Manager WordPress plugin before 2.9.14 does not validate and sanitise the affiliate data, which could allow users registering as affiliate to perform CSV injection attacks against an admin exporting the data

  • Unscored —

    Mobile Events Manager < 1.4.8 - Admin+ CSV Injection

    The Mobile Events Manager WordPress plugin before 1.4.8 does not properly escape the Enquiry source field when exporting events, or the Paid for field when exporting transactions as CSV, leading to a CSV injection vulnerability.

  • Medium 6.5

    WP Users Exporter <= 1.4.2 - CSV Injection

    The WP Users Exporter plugin for WordPress is vulnerable to CSV Injection in versions up to, and including, 1.4.2 via the 'Export Users' functionality. This makes it possible for authenticated attackers, such as a subscriber, to add untrusted input into profi…

  • Unscored —

    Request a Quote <= 2.3.7 - CSV Injection

    The Request a Quote WordPress plugin through 2.3.7 does not validate uploaded CSV files, allowing unauthenticated users to attach a malicious CSV file to a quote, which could lead to a CSV injection once an admin download and open it

  • Unscored —

    Exports and Reports < 0.9.2 - Contributor+ CSV Injection

    The Exports and Reports WordPress plugin before 0.9.2 does not sanitize and validate data when generating the CSV to export, which could lead to a CSV injection, by the use of Microsoft Excel DDE function, or to leak data via maliciously injected hyperlinks.

  • Critical 9.0

    Improper Neutralization of Formula Elements in a CSV File in inventree/inventree

    Improper Neutralization of Formula Elements in a CSV File in GitHub repository inventree/inventree prior to 0.7.2.

  • Unscored —

    WP-CRM <= 1.2.1 - CSV Injection

    The WP-CRM WordPress plugin through 1.2.1 does not validate and sanitise fields when exporting people to a CSV file, leading to a CSV injection vulnerability.

  • High 8.0

    Improper Neutralization of Formula Elements in a CSV File in kromitgmbh/titra

    Improper Neutralization of Formula Elements in a CSV File in GitHub repository kromitgmbh/titra prior to 0.77.0.

  • Medium 5.9

    PowerStore SW v2.1.1.0 supports the option to export data to either a CSV or an XLSX file. The data is taken as is, wit…

  • Critical 9.8

    CSV-Safe improperly filters special characters potentially leading to CSV injection

    CSV-Safe gem < 3.0.0 doesn't filter out special characters which could trigger CSV Injection.

  • High 8.0

    Formula Injection/CSV Injection due to Improper Neutralization of Formula Elements in CSV File in luyadev/yii-helpers

    Formula Injection/CSV Injection due to Improper Neutralization of Formula Elements in CSV File in GitHub repository luyadev/yii-helpers prior to 1.2.1. Successful exploitation can lead to impacts such as client-sided command injection, code execution, or remo…

  • Medium 5.7

    Security issues in Eaton Intelligent Power Manager Infrastructure

    Eaton Intelligent Power Manager Infrastructure (IPM Infrastructure) version 1.5.0plus205 and all prior versions are vulnerable to CSV Formula Injection. This issue affects: Eaton Intelligent Power Manager Infrastructure (IPM Infrastructure) all version 1.5.0p…

  • High 7.8

    MantisBT CSV Injection unprivileged user access in csv_export.php

    Lack of Neutralization of Formula Elements in the CSV API of MantisBT before 2.25.3 allows an unprivileged attacker to execute code or gain access to information when a user opens the csv_export.php generated CSV file in Excel.

  • Unscored —

    Visual Form Builder < 3.0.6 - CSV Injection

    The Visual Form Builder WordPress plugin before 3.0.8 is vulnerable to CSV injection allowing a user with low level or no privileges to inject a command that will be included in the exported CSV file, leading to possible code execution.

  • High 7.8

    Improper Neutralization of Formula Elements in a CSV File in Kimai 2

    CSV Injection (aka Excel Macro Injection or Formula Injection) exists in creating new timesheet in Kimai. By filling the Description field with malicious payload, it will be mistreated while exporting to a CSV file.

  • High 8.8

    Improper Neutralization of Formula Elements in a CSV File in Gradio Flagging

    `gradio` is an open source framework for building interactive machine learning models and demos. Prior to version 2.8.11, `gradio` suffers from Improper Neutralization of Formula Elements in a CSV File. The `gradio` library has a flagging functionality which …