GitHub Advisoryadvisory · Packagist

GHSA-mqjc-x563-c9q8 silverstripe/framework CSV Excel Macro Injection

HIGH Published 2024-05-27 Modified 2024-05-27 Official page ↗
Ecosystem
Packagist
Packages
silverstripe/framework
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-74
Reviewed
2024-05-27

Affected packages

• Packagist silverstripe/framework: >= 3.5.0-rc1, < 3.5.6 → fixed in 3.5.6 • Packagist silverstripe/framework: >= 3.6.0-rc1, < 3.6.3 → fixed in 3.6.3 • Packagist silverstripe/framework: >= 4.0.0-rc1, < 4.0.1 → fixed in 4.0.1

Description

In the CSV export feature of the CMS it's possible for the output to contain macros and scripts, which if imported without sanitisation into software (including Microsoft Excel) may be executed. In order to safeguard against this threat all potentially executable cell values exported from CSV will be prepended with a literal tab character.

Related

Weakness · CWE (1)

  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness

References