ADVISORIES

GitHub Advisory Database

GHSA-x8xm-c7p8-2pj2

Silverstripe cross-site scripting (XSS) attack in elemental "Content blocks in use" report

Moderate CVE-2025-25197

Details

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.

References

  • https://www.silverstripe.org/download/security-releases/CVE-2025-25197

Affected packages

EcosystemPackageAffected versions
Packagistdnadesign/silverstripe-elemental
From 2.1.2 before 5.3.12 (fixed in 5.3.12)

References