Skip to content

GHSA-r9vp-fp72-xgf7 silverstripe/framework's `Member.Name` is not escaped

MediumCVSS 5.4
Published
Updated
Exploit status
No public exploit known
Technology
PHP

Description

The core template framework/templates/Includes/GridField_print.ss uses "Printed by $Member.Name".

If the currently logged in members first name or surname contain XSS, this prints the raw HTML out, because Member->getName() just returns the raw FirstName + Surname as a string, which is injected directly.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
silverstripe/framework(Packagist) = 3.1.9; = 3.1.9-rc1; = 3.1.10; = 3.1.10-rc1 +37 more 3.1.20, 3.2.5, 3.3.3, 3.4.1 Fixed

Affected products

ProductAffected versionsFixed in
silverstripe/framework(Packagist) >= 3.1.9-rc1, < 3.1.20 3.1.20
silverstripe/framework(Packagist) = 3.1.10 No fix listed
silverstripe/framework(Packagist) = 3.1.10-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.10-rc2 No fix listed
silverstripe/framework(Packagist) = 3.1.11 No fix listed
silverstripe/framework(Packagist) = 3.1.11-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.12 No fix listed
silverstripe/framework(Packagist) = 3.1.13 No fix listed
silverstripe/framework(Packagist) = 3.1.13-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.14 No fix listed
silverstripe/framework(Packagist) = 3.1.14-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.15 No fix listed
silverstripe/framework(Packagist) = 3.1.16 No fix listed
silverstripe/framework(Packagist) = 3.1.16-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.17 No fix listed
silverstripe/framework(Packagist) = 3.1.17-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.17-rc2 No fix listed
silverstripe/framework(Packagist) = 3.1.18 No fix listed
silverstripe/framework(Packagist) = 3.1.18-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.18-rc2 No fix listed
silverstripe/framework(Packagist) = 3.1.19 No fix listed
silverstripe/framework(Packagist) = 3.1.19-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.20-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.20-rc2 No fix listed
silverstripe/framework(Packagist) = 3.1.9 No fix listed
Show 16 more
ProductAffected versionsFixed in
silverstripe/framework(Packagist) = 3.1.9-rc1 No fix listed
silverstripe/framework(Packagist) >= 3.2.4-rc1, < 3.2.5 3.2.5
silverstripe/framework(Packagist) = 3.2.4 No fix listed
silverstripe/framework(Packagist) = 3.2.4-rc1 No fix listed
silverstripe/framework(Packagist) = 3.2.5-rc1 No fix listed
silverstripe/framework(Packagist) = 3.2.5-rc2 No fix listed
silverstripe/framework(Packagist) >= 3.3.2-rc1, < 3.3.3 3.3.3
silverstripe/framework(Packagist) = 3.3.2 No fix listed
silverstripe/framework(Packagist) = 3.3.2-rc1 No fix listed
silverstripe/framework(Packagist) = 3.3.3-rc1 No fix listed
silverstripe/framework(Packagist) = 3.3.3-rc2 No fix listed
silverstripe/framework(Packagist) >= 3.4.0-rc1, < 3.4.1 3.4.1
silverstripe/framework(Packagist) = 3.4.0 No fix listed
silverstripe/framework(Packagist) = 3.4.0-rc1 No fix listed
silverstripe/framework(Packagist) = 3.4.1-rc1 No fix listed
silverstripe/framework(Packagist) = 3.4.1-rc2 No fix listed

References