CVE-2021-41270 in Fedoraproject Fedora and 1 more product
Symfony/Serializer handles serializing and deserializing data structures for Symfony, a PHP framework for web and console applications and a set of reusable PHP components. Symfony versions 4.1.0 before 4.4.35 and versions 5.0.0 before 5.3.12 are vulnerable to CSV injection, also known as formula injection. In Symfo...
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Fedoraproject | Fedora | 34 35 |
| Sensiolabs | Symfony | ≥ 4.1.0, < 4.4.35 ≥ 5.0.0, < 5.3.12 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Symfony/Serializer handles serializing and deserializing data structures for Symfony, a PHP framework for web and console applications and a set of reusable PHP components. Symfony versions 4.1.0 before 4.4.35 and versions 5.0.0 before 5.3.12 are vulnerable to CSV injection, also known as formula injection. In Symfony 4.1, maintainers added the opt-in `csv_escape_formulas` option in the `CsvEncoder`, to prefix all cells starting with `=`, `+`, `-` or `@` with a tab `\t`. Since then, OWASP added 2 chars in that list: Tab (0x09) and Carriage return (0x0D). This makes the previous prefix char (Tab `\t`) part of the vulnerable characters, and OWASP suggests using the single quote `'` for prefixing the value. Starting with versions 4.4.34 and 5.3.12, Symfony now follows the OWASP recommendations and uses the single quote `'` to prefix formulas and add the prefix to cells starting by `\t`, `\r` as well as `=`, `+`, `-` and `@`.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-41270 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-298384-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Published | 2021-11-24 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-1236: CWE-1236
Analysis AI-written, not human-reviewed
Symfony/Serializer in Symfony versions 4.1.0 before 4.4.35 and versions 5.0.0 before 5.3.12 is vulnerable to CSV injection, also known as formula injection, due to improper handling of CSV data.
An attacker can exploit this vulnerability by injecting malicious CSV data that can be interpreted as formulas by spreadsheet software, potentially leading to unauthorized data access or manipulation.
Questions
What is CVE-2021-41270?
Symfony/Serializer in Symfony versions 4.1.0 before 4.4.35 and versions 5.0.0 before 5.3.12 is vulnerable to CSV injection, also known as formula injection, due to improper handling of CSV data.
What is the CVSS score for CVE-2021-41270?
CVE-2021-41270 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N. EPSS: 1.4%.
Is CVE-2021-41270 actively exploited?
No confirmed active exploitation of CVE-2021-41270 as of 2026-09-25.
How do I remediate CVE-2021-41270?
Priority: MEDIUM.
What systems are affected by CVE-2021-41270?
CVE-2021-41270 affects Fedoraproject Fedora; Sensiolabs Symfony.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Fedoraproject","product":"Fedora","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.