GHSA-r9vp-fp72-xgf7 – silverstripe/framework
Package
Manager: composer
Name: silverstripe/framework
Vulnerable Version: >=3.1.9-rc1 <3.1.20 || >=3.2.4-rc1 <3.2.5 || >=3.3.2-rc1 <3.3.3 || >=3.4.0-rc1 <3.4.1
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: N/A pctlN/A
Details
silverstripe/framework's `Member.Name` is not escaped 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.
Metadata
Created: 2024-05-27T18:58:08Z
Modified: 2024-05-27T18:58:08Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-r9vp-fp72-xgf7/GHSA-r9vp-fp72-xgf7.json
CWE IDs: ["CWE-79"]
Alternative ID: N/A
Finding: F425
Auto approve: 1