Vulnerability · Published Apr 10, 2025 · Assigned by GitHub_M
CVE-2025-25197Silverstripe Elemental enables XSS attacks in elemental "Content blocks in use" reports
Medium 5.4
In plain English
A medium-severity cross-site scripting in silverstripe-elemental from silverstripe. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | dnadesign/silverstripe-elemental | 5.3.12 | GHSA-x8xm-c7p8-2pj2 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| silverstripe | silverstripe-elemental | >= 2.1.2, < 5.3.12 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
References
- https://github.com/silverstripe/silverstripe-elemental/security/advisories/GHSA-x8xm-c7p8-2pj2 x_refsource_CONFIRM
- https://github.com/silverstripe/silverstripe-elemental/commit/34ff4ed498ccab94cc5f55ef9a56c37f491eda1d x_refsource_MISC
- https://www.silverstripe.org/download/security-releases/CVE-2025-25197 x_refsource_MISC