Lucene search

K
githubGitHub Advisory DatabaseGHSA-R9VP-FP72-XGF7
HistoryMay 27, 2024 - 6:58 p.m.

silverstripe/framework's `Member.Name` is not escaped

2024-05-2718:58:08
CWE-79
GitHub Advisory Database
github.com
2
silverstripe framework member name xss security software

AI Score

6.9

Confidence

High

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.

Affected configurations

Vulners
Node
silverstripeframeworkRange3.4.0-rc13.4.1
OR
silverstripeframeworkRange3.3.2-rc13.3.3
OR
silverstripeframeworkRange3.2.4-rc13.2.5
OR
silverstripeframeworkRange3.1.9-rc13.1.20
VendorProductVersionCPE
silverstripeframework*cpe:2.3:a:silverstripe:framework:*:*:*:*:*:*:*:*

AI Score

6.9

Confidence

High