XSS in Silverstripe Silverstripe-Elemental

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

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.003 (20.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-25197?
CVE-2025-25197 is a medium-severity vulnerability in Silverstripe Silverstripe-Elemental, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2025-04-10.
How severe is CVE-2025-25197?
Medium severity. CVSS v3 base score is 5.4 out of 10.
Is CVE-2025-25197 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.