# CVE-2025-25197: Silverstripe Elemental enables XSS attacks in elemental "Content blocks in use" reports

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2025-04-10T12:58:13.674Z
- Modified: 2026-06-17T09:00:28.003Z
- Also known as: GHSA-x8xm-c7p8-2pj2
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- silverstripe silverstripe-elemental: >= 2.1.2, < 5.3.12
- dnadesign/silverstripe-elemental (Packagist): from 2.1.2 before 5.3.12

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `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> (web)
- <https://github.com/silverstripe/silverstripe-elemental/commit/34ff4ed498ccab94cc5f55ef9a56c37f491eda1d> (web)
- <https://www.silverstripe.org/download/security-releases/CVE-2025-25197>
- <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)
- <https://www.silverstripe.org/download/security-releases/cve-2025-25197> (web)

## Sources

- CVE List: [CVE-2025-25197](https://www.cve.org/CVERecord?id=CVE-2025-25197), CVE Terms of Use, modified 2025-04-10
- GitHub Advisory Database: [GHSA-x8xm-c7p8-2pj2](https://github.com/advisories/GHSA-x8xm-c7p8-2pj2), CC-BY-4.0, modified 2025-04-10
- NVD: [CVE-2025-25197](https://nvd.nist.gov/vuln/detail/CVE-2025-25197), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-25197 · Whole record: https://cve.day/CVE-2025-25197.json · Rebuilt by cve.day 2026-11-25T22:58:56.375Z
