Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. dnadesign/silverstripe-elemental
  4. ›
  5. CVE-2025-25197

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

April 10, 2025

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

  • github.com/FriendsOfPHP/security-advisories/blob/master/dnadesign/silverstripe-elemental/CVE-2025-25197.yaml
  • github.com/advisories/GHSA-x8xm-c7p8-2pj2
  • github.com/silverstripe/silverstripe-elemental
  • github.com/silverstripe/silverstripe-elemental/pull/1345
  • github.com/silverstripe/silverstripe-elemental/security/advisories/GHSA-x8xm-c7p8-2pj2
  • nvd.nist.gov/vuln/detail/CVE-2025-25197
  • www.silverstripe.org/download/security-releases/cve-2025-25197

Code Behaviors & Features

Detect and mitigate CVE-2025-25197 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.1.2 before 5.3.12

Fixed versions

  • 5.3.12

Solution

Upgrade to version 5.3.12 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/dnadesign/silverstripe-elemental/CVE-2025-25197.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:30 +0000.