Skip to content

CSV Injection Vulnerability

High severity GitHub Reviewed Published Oct 15, 2021 in craftcms/cms • Updated Feb 1, 2023

Package

composer craftcms/cms (Composer)

Affected versions

>= 3.4.0, < 3.7.14

Patched versions

3.7.14

Description

Impact

In some circumstances, it was possible to export data in CSV format that could trigger a payload in old versions of Excel.

If you are accepting user input from untrusted sources and will be exporting that data in CSV format from element index pages and there is a chance users will open that on old versions of Excel, then you should update.

Patches

This has been patched in Craft 3.7.14.

References

For more information

If you have any questions or comments about this advisory, email us at [email protected]


Credits: BAE Systems AI Vulnerability Research Team – Azrul Ikhwan Zulkifli

References

Published by the National Vulnerability Database Sep 30, 2021
@angrybrad angrybrad published to craftcms/cms Oct 15, 2021
Reviewed Oct 15, 2021
Published to the GitHub Advisory Database Oct 18, 2021
Last updated Feb 1, 2023

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS score

0.349%
(73rd percentile)

Weaknesses

CVE ID

CVE-2021-41824

GHSA ID

GHSA-h7vq-5qgw-jwwq

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.