CVE-2025-25197: Silverstripe Elemental XSS Vulnerability in Content Blocks Report

Summary

10/04/2025
Yes i
Moderate
5.4

CVE-2025-25197: Silverstripe cross-site scripting (XSS) attack in elemental "Content blocks in use" report. Affects dnadesign/silverstripe-elemental versions >= 2.1.2, < 5.3.12. Fixed in 5.3.12. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Silverstripe is an open-source content management system (CMS) that allows users to create and manage websites with ease. The 'dnadesign/silverstripe-elemental' package is a popular module that provides flexible content blocks for Silverstripe, enabling users to build complex layouts. However, a vulnerability has been identified in this package that affects the 'Content blocks in use' report, allowing for potential cross-site scripting (XSS) attacks.

Vulnerability Detail

The vulnerability arises from the failure to properly sanitize user input before displaying it in the 'Content blocks in use' report. An attacker can exploit this flaw by injecting an XSS payload into an elemental block, which can then be executed when the report is viewed by an unsuspecting user. This could lead to unauthorized actions being performed on behalf of the user or sensitive information being disclosed.

How To Fix

Minimum fixed version

5.3.12

This is the first release that contains the fix.

composer require dnadesign/silverstripe-elemental:5.3.12

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can restrict access to the 'Content blocks in use' report until the package is updated. This can be done by modifying user permissions or hiding the report from the user interface.

Conclusion

The identified XSS vulnerability in the Silverstripe Elemental package poses a risk to users viewing the 'Content blocks in use' report. It is crucial to update to the patched version to mitigate this risk and ensure the security of your application.

See every vulnerability recorded for dnadesign/silverstripe-elemental →

Share this vulnerability

FAQ

The vulnerability is a cross-site scripting (XSS) issue that allows attackers to inject malicious scripts into the 'Content blocks in use' report.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to analyze your composer.lock file without needing to sign up.

If exploited, this vulnerability could lead to unauthorized actions on behalf of users or the exposure of sensitive information.

Yes, a patch is available in version 5.3.12 of the 'dnadesign/silverstripe-elemental' package.

The CVSS score for this vulnerability is 5.4, indicating a moderate severity level.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

5.3.12

This is the first release that contains the fix.

composer require dnadesign/silverstripe-elemental:5.3.12

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback