CVE-2025-25197
MEDIUM 5.4CVSS 3.1Silverstripe cross-site scripting (XSS) attack in elemental "Content blocks in use" report
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.
- Published
- 10 Apr 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-x8xm-c7p8-2pj2
- Sources
- NVDJSONOSV GHSA-x8xm-c7p8-2pj2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | dnadesign/silverstripe-elemental | >= 2.1.2, < 5.3.12 | 5.3.12 |
References
- https://github.com/silverstripe/silverstripe-elemental/commit/34ff4ed498ccab94cc5f55ef9a56c37f491eda1d · WEB
- https://github.com/silverstripe/silverstripe-elemental/security/advisories/GHSA-x8xm-c7p8-2pj2 · WEB
- https://www.silverstripe.org/download/security-releases/CVE-2025-25197 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-25197 · ADVISORY
- https://github.com/silverstripe/silverstripe-elemental/pull/1345 · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/dnadesign/silverstripe-elemental/CVE-2025-25197.yaml · WEB
- https://github.com/silverstripe/silverstripe-elemental · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 10 Apr 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 10 Apr 2025)