Lucene search

K
osvGoogleOSV:GHSA-R9VP-FP72-XGF7
HistoryMay 27, 2024 - 6:58 p.m.

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

2024-05-2718:58:08
Google
osv.dev
1
silverstripe
framework
member.name
security vulnerability
gridfield_print.ss
template
xss
html
injection

6.9 Medium

AI Score

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.

6.9 Medium

AI Score

Confidence

High