silverstripe/silverstripe-framework · Security

silverstripe/framework CSV Excel Macro Injection

GHSA ID
GHSA-mqjc-x563-c9q8
Severity
high
Published
Updated
CVSS
8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS v3
8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

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.

CWEs

References