CSV Injection Affecting symfony/symfony package, versions >=5.0.0, <5.3.12 >=4.1.0, <4.4.35


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.13% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-SYMFONYSYMFONY-1925886
  • published 24 Nov 2021
  • disclosed 24 Nov 2021
  • credit Jake Barwell, Jérémy Derussé

How to fix?

Upgrade symfony/symfony to version 5.3.12, 4.4.35 or higher.

Overview

symfony/symfony is a PHP framework for web applications and a set of reusable PHP components.

Affected versions of this package are vulnerable to CSV Injection via prefixing cells with \t, \r, =, +, - or @ which are all interpreted as special characters for this package. An attacker could leverage this to cause a vulnerable application to execute malicious behaviours when consuming such a crafted CSV file.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
6.5 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    None
Expand this section

NVD

6.5 medium