Security mailing lists by PureSourceCode

GHSA-r9vp-fp72-xgf7

MEDIUM 5.4CVSS 3.1

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.

Published
27 May 2024
Last modified
2 Dec 2024
Weakness
CWE-79
Sources
OSVJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Packagist silverstripe/framework >= 3.1.9-rc1, < 3.1.20 3.1.20
OSV Packagist silverstripe/framework >= 3.2.4-rc1, < 3.2.5 3.2.5
OSV Packagist silverstripe/framework >= 3.3.2-rc1, < 3.3.3 3.3.3
OSV Packagist silverstripe/framework >= 3.4.0-rc1, < 3.4.1 3.4.1

References

History

  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 27 May 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.