Reflected XSS Vulnerability in Silverstripe Framework - Error Message Exposure

silverstripe/framework Updated 02 Oct 2025

Summary

14/01/2025
LOW
Yes i
Low
0.0

GHSA-mqf3-qpc3-g26q: Silverstripe Framework has a Reflected Cross Site Scripting (XSS) in error message. Affects silverstripe/framework versions < 5.3.8. Fixed in 5.3.8. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Silverstripe Framework is an open-source content management system (CMS) and framework for building web applications in PHP. It is known for its flexibility, user-friendly interface, and robust features that allow developers to create dynamic websites. However, when configured in 'dev' mode, it becomes susceptible to security vulnerabilities, including reflected cross-site scripting (XSS) attacks, which can compromise the integrity of the application and the safety of its users.

Vulnerability Detail

The vulnerability arises when a website using Silverstripe Framework is set to 'dev' environment mode, which is intended for development and debugging purposes. In this mode, error messages can be manipulated by injecting an XSS payload into the URL. When the error message is displayed, the payload is executed in the user's browser, potentially leading to session hijacking, data theft, or other malicious actions. This vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')).

How To Fix

Minimum fixed version

5.3.8

This is the first release that contains the fix.

composer require silverstripe/framework:5.3.8

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

Workaround

If immediate updating is not possible, a temporary workaround is to restrict access to the 'dev' mode by implementing IP whitelisting or using authentication mechanisms to prevent unauthorized access.

Conclusion

In summary, the reflected XSS vulnerability in the Silverstripe Framework poses a risk when the application is running in 'dev' mode. It is essential to switch to 'live' mode and update to the latest patched version to mitigate this risk. Additionally, using tools like Vulert can help monitor and alert for open-source vulnerabilities in your software.

See every vulnerability recorded for silverstripe/framework →

Share this vulnerability

FAQ

The impact includes potential execution of malicious scripts in the user's browser, leading to data theft or session hijacking.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Yes, the vulnerability is fixed in version 5.3.8 of the Silverstripe Framework. Updating to this version will resolve the issue.

If you cannot update immediately, ensure that your application is not accessible in 'dev' mode to the public and consider implementing access controls.

The CVSS score for this vulnerability is 0.0, indicating a low severity level.

Related vulnerabilities

Recent vulnerabilities recorded for silverstripe/framework.

How To Fix

Minimum fixed version

5.3.8

This is the first release that contains the fix.

composer require silverstripe/framework:5.3.8

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