GitHub Advisoryadvisory · Packagist
GHSA-x8xm-c7p8-2pj2 Silverstripe cross-site scripting (XSS) attack in elemental "Content blocks in use" report
MEDIUM
Official page ↗
- Aliases
- CVE-2025-25197
- Ecosystem
- Packagist
- Packages
- dnadesign/silverstripe-elemental
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2025-04-10
Affected packages
• Packagist dnadesign/silverstripe-elemental: >= 2.1.2, < 5.3.12 → fixed in 5.3.12
Description
An elemental block can include an XSS payload, which can be executed when viewing the "Content blocks in use" report.
The vulnerability is specific to that report and is a result of failure to cast input prior to including it in the grid field.
References
• https://www.silverstripe.org/download/security-releases/CVE-2025-25197
Related
Alias · CVE (1)
- CVE-2025-25197 Silverstripe Elemental extends a page type to swap the content area for a list of manageable elements to compose a page out of rather than… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/silverstripe/silverstripe-elemental/security/advisories/GHSA-x8xm-c7p8-2pj2 web
- https://nvd.nist.gov/vuln/detail/CVE-2025-25197 advisory
- https://github.com/silverstripe/silverstripe-elemental/pull/1345 web
- https://github.com/silverstripe/silverstripe-elemental/commit/34ff4ed498ccab94cc5f55ef9a56c37f491eda1d web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/dnadesign/silverstripe-elemental/CVE-2025-25197.yaml web
- https://github.com/silverstripe/silverstripe-elemental package
- https://www.silverstripe.org/download/security-releases/cve-2025-25197 web