NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

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

mediumCVSS 3.1 5.4

The core template framework/templates/Includes/GridFieldprint.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.

Published May 27, 2024

Affected packages

silverstripe/framework

Ecosystem
Composer (PHP)
Affected
>= 3.1.9-rc1, < 3.1.20
Fixed in
3.1.20
Check
composer show silverstripe/framework

silverstripe/framework

Ecosystem
Composer (PHP)
Affected
>= 3.2.4-rc1, < 3.2.5
Fixed in
3.2.5
Check
composer show silverstripe/framework

silverstripe/framework

Ecosystem
Composer (PHP)
Affected
>= 3.3.2-rc1, < 3.3.3
Fixed in
3.3.3
Check
composer show silverstripe/framework

silverstripe/framework

Ecosystem
Composer (PHP)
Affected
>= 3.4.0-rc1, < 3.4.1
Fixed in
3.4.1
Check
composer show silverstripe/framework

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries