CVE-2015-8766: Symfony XSS Vulnerabilities

symphonycms/symphony-2 Updated 02 Oct 2025

Summary

13/05/2022
Yes i
Moderate
6.1

CVE-2015-8766: Symphony CMS XSS Vulnerabilities. Affects symphonycms/symphony-2 versions < 2.6.4. Fixed in 2.6.4. 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

Symfony is a popular PHP framework used for developing web applications. It provides a set of reusable components and tools for building robust and scalable applications. The vulnerability identified as CVE-2015-8766 affects versions of Symfony CMS prior to 2.6.4. This vulnerability allows remote attackers to inject arbitrary web script or HTML through various parameters in the system preferences, potentially leading to cross-site scripting (XSS) attacks.

Vulnerability Detail

The vulnerability arises due to insufficient input sanitization in the content/content.systempreferences.php file of Symfony CMS. Specifically, the following parameters are affected: email_sendmail[from_name], email_sendmail[from_address], email_smtp[from_name], email_smtp[from_address], email_smtp[host], email_smtp[port], jit_image_manipulation[trusted_external_sites], and maintenance_mode[ip_whitelist]. An attacker can exploit these parameters to inject malicious web script or HTML, which will be executed in the context of the affected application. This can lead to various attacks, including session hijacking, defacement, or the theft of sensitive information.

How To Fix

Minimum fixed version

2.6.4

This is the first release that contains the fix.

composer require symphonycms/symphony-2:2.6.4

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

Workaround

If upgrading to the latest version is not immediately feasible, a temporary workaround can be implemented by manually sanitizing the affected parameters. This can be done by using appropriate input filtering and validation techniques, such as HTML entity encoding or using a dedicated HTML sanitizer library. However, it is strongly recommended to apply the official patch or upgrade to the latest version as soon as possible.

Conclusion

The CVE-2015-8766 vulnerability in Symfony CMS exposes applications to cross-site scripting (XSS) attacks. Upgrading to version 2.6.4 or later is the recommended solution, as it includes the necessary patches to mitigate this vulnerability. In the meantime, developers can implement temporary workarounds by manually sanitizing user input. It is crucial to prioritize the security of Symfony CMS installations and ensure that all user-supplied input is properly validated and sanitized to prevent XSS attacks.

See every vulnerability recorded for symphonycms/symphony-2 →

Share this vulnerability

FAQ

Symfony CMS is a content management system built on top of the Symfony PHP framework. It provides a user-friendly interface for managing website content and includes various features for customization and extensibility.

Cross-site scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. This can lead to various attacks, such as session hijacking, defacement, or the theft of sensitive information.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your composer.lock file to the playground, and it will analyze the dependencies and alert you if any vulnerabilities are found.

While specific exploits for this vulnerability have not been disclosed, it is important to address it promptly to prevent potential attacks. Attackers could leverage the vulnerability to inject malicious scripts or HTML into the affected application, potentially leading to various security breaches.

For further support and assistance in remediating this vulnerability, you can reach out to info@devnack.com. Our team of experts will be happy to help you secure your Symfony CMS installation and address any related concerns.

Related vulnerabilities

Recent vulnerabilities recorded for symphonycms/symphony-2.

How To Fix

Minimum fixed version

2.6.4

This is the first release that contains the fix.

composer require symphonycms/symphony-2:2.6.4

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