CVE-2025-25197
CVE-2025-25197 · Silverstripe Elemental enables XSS attacks in elemental "Content blocks in use" reports
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 a single text field. 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. This vulnerability is fixed in 5.3.12.
CVSS 5.4 · Medium · EPSS 0.3% · Fix available
- Published
- Updated
Stack: php
Affected products and versions
silverstripe-elemental
- Versions
- >= 2.1.2, < 5.3.12: Affected
No fix published
dnadesign/silverstripe-elemental Packagist
- Versions
- 2.1.2
- 3.0.0
- 3.0.0-beta1
- 3.0.0-beta2
- 3.0.0-beta3
- 3.0.0-rc1
- 3.0.0-rc2
- 3.0.1
- 3.0.2
- 3.1.0
- 3.1.1
- 3.1.2
- 3.1.3
- 4.0.0
- 4.0.0-beta1
- 4.0.1
- 4.0.2
- 4.0.3
- 4.0.4
- 4.0.5
- 4.1.0
- 4.1.1
- 4.10.0
- 4.10.0-beta1
- 4.10.0-rc1
- 4.10.1
- 4.10.2
- 4.11.0
- 4.11.0-beta1
- 4.11.0-rc1
- 4.11.1
- 4.11.2
- 4.11.3
- 4.11.4
- 4.11.5
- 4.11.6
- 4.11.7
- 4.11.8
- 4.11.9
- 4.2.0
- 4.2.0-beta1
- 4.2.1
- 4.3.0
- 4.3.1
- 4.3.2
- 4.4.0
- 4.4.0-rc1
- 4.4.1
- 4.5.0
- 4.6.0
- 4.6.0-beta1
- 4.6.0-beta2
- 4.6.0-rc1
- 4.7.0
- 4.7.1
- 4.8.0
- 4.8.0-beta1
- 4.8.0-rc1
- 4.8.1
- 4.8.2
- 4.8.3
- 4.9.0
- 4.9.0-beta1
- 4.9.0-rc1
- 4.9.1
- 4.9.2
- 4.9.3
- 4.9.4
- 5.0.0
- 5.0.0-alpha1
- 5.0.0-alpha2
- 5.0.0-alpha3
- 5.0.0-beta1
- 5.0.0-beta2
- 5.0.0-rc1
- 5.0.1
- 5.0.2
- 5.0.3
- 5.0.4
- 5.1.0
- 5.1.0-beta1
- 5.1.0-rc1
- 5.1.1
- 5.1.2
- 5.1.3
- 5.1.4
- 5.1.5
- 5.2.0
- 5.2.0-beta1
- 5.2.0-rc1
- 5.2.1
- 5.2.2
- 5.2.3
- 5.2.4
- 5.3.0
- 5.3.0-beta1
- 5.3.0-rc1
- 5.3.1
- 5.3.10
- 5.3.11
- 5.3.2
- 5.3.3
- 5.3.4
- 5.3.5
- 5.3.6
- 5.3.7
- 5.3.8
- 5.3.9
- Affected ranges
- ECOSYSTEM: ≥ 2.1.2, < 5.3.12
Update to 5.3.12
Original sources
- https://github.com/silverstripe/silverstripe-elemental/security/advisories/GHSA-x8xm-c7p8-2pj2
- https://github.com/silverstripe/silverstripe-elemental/commit/34ff4ed498ccab94cc5f55ef9a56c37f491eda1d
- https://www.silverstripe.org/download/security-releases/CVE-2025-25197
- https://nvd.nist.gov/vuln/detail/CVE-2025-25197