2020
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.
Extended Description
User-provided data is often saved to traditional databases. This data can be exported to a CSV
file, which allows users to read the data using spreadsheet software such as Excel, Numbers,
or Calc. This software interprets entries beginning with '=' as formulas, which are then executed
by the spreadsheet software. The software's formula language often allows methods to access
hyperlinks or the local command line, and frequently allows enough characters to invoke an entire
script. Attackers can populate data fields which, when saved to a CSV file, may attempt information
exfiltration or other malicious activity when automatically executed by the spreadsheet software.
Relationships
The table(s) below shows the weaknesses and high level categories that are related to this
weakness. These relationships are defined as ChildOf, ParentOf, MemberOr and give insight to
similar items that may exist at higher and lower levels of abstraction. In addition, relationships such
as PeerOf and CanAlsoBe are defined to show similar weaknesses that may want to be explored.
Relevant to the view "Research Concepts" (CWE-1000)
Nature Type ID Name Page
ChildOf 74 Improper Neutralization of Special Elements in Output Used
by a Downstream Component ('Injection')