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.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.3%top 75.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Packagistdnadesign/silverstripe-elemental5.3.12GHSA-x8xm-c7p8-2pj2

Affected products (as reported)

VendorProductVersions
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