CVE-2024-53277: Silverstripe Framework XSS Vulnerability in Form Messages

silverstripe/framework Updated 02 Oct 2025

Summary

14/01/2025
Yes i
Moderate
5.4

CVE-2024-53277: Silverstripe Framework has a XSS in form messages. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Silverstripe Framework is an open-source content management system (CMS) and framework for building web applications. It provides a robust set of tools for developers to create dynamic websites and applications. The framework supports various features, including templating, form handling, and user management. However, it has a vulnerability related to how form messages handle user-provided content, which can lead to cross-site scripting (XSS) attacks if not properly sanitized.

Vulnerability Detail

The vulnerability arises from the fact that some form messages can include HTML markup, which is an intentional feature of the Silverstripe Framework. However, in certain scenarios within the CMS, user-provided content is not adequately sanitized before being included in these form messages. This oversight can allow attackers to inject malicious scripts into the form messages, leading to XSS vulnerabilities. The potential ramifications include unauthorized access to user sessions, data theft, and the ability to manipulate the user interface.

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

As a temporary workaround, ensure that any user-generated content included in form messages is properly sanitized before being displayed. This can be done by using built-in sanitization functions provided by the framework to escape HTML characters.

Conclusion

The Silverstripe Framework has a moderate severity XSS vulnerability (CVE-2024-53277) that can be exploited through unsanitized form messages. It is crucial for users to update to version 5.3.8 or later to mitigate this risk. Additionally, using tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for silverstripe/framework →

Share this vulnerability

FAQ

CVE-2024-53277 is a vulnerability in the Silverstripe Framework that allows for cross-site scripting (XSS) attacks through improperly sanitized form messages.

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.

The impacts include unauthorized access to user sessions, data theft, and the ability to execute malicious scripts in the context of the user's browser.

Yes, a patch is available in version 5.3.8 of the Silverstripe Framework. Updating to this version will resolve the vulnerability.

If you cannot update immediately, ensure that any user-generated content in form messages is sanitized to prevent XSS attacks as a temporary measure.

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