VYPR
Medium severity6.1NVD Advisory· Published Jan 8, 2016· Updated May 6, 2026

CVE-2015-8766

CVE-2015-8766

Description

Multiple cross-site scripting (XSS) vulnerabilities in content/content.systempreferences.php in Symphony CMS before 2.6.4 allow remote attackers to inject arbitrary web script or HTML via the (1) email_sendmail[from_name], (2) email_sendmail[from_address], (3) email_smtp[from_name], (4) email_smtp[from_address], (5) email_smtp[host], (6) email_smtp[port], (7) jit_image_manipulation[trusted_external_sites], or (8) maintenance_mode[ip_whitelist] parameters to system/preferences.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
symphonycms/symphony-2Packagist
< 2.6.42.6.4

Affected products

1

Patches

1
651e150091c6

Sanitize the POST for the system/preferences/

https://github.com/symphonycms/symphony-2Brendan AbbottNov 5, 2015via ghsa
1 file changed · +5 2
  • symphony/content/content.systempreferences.php+5 2 modified
    @@ -196,7 +196,7 @@ public function action()
             Symphony::ExtensionManager()->notifyMembers('CustomActions', '/system/preferences/');
     
             if (isset($_POST['action']['save'])) {
    -            $settings = $_POST['settings'];
    +            $settings = filter_var_array($_POST['settings'], FILTER_SANITIZE_STRING);
     
                 /**
                  * Just prior to saving the preferences and writing them to the `CONFIG`
    @@ -210,7 +210,10 @@ public function action()
                  * @param array $errors
                  *  An array of errors passed by reference
                  */
    -            Symphony::ExtensionManager()->notifyMembers('Save', '/system/preferences/', array('settings' => &$settings, 'errors' => &$this->_errors));
    +            Symphony::ExtensionManager()->notifyMembers('Save', '/system/preferences/', array(
    +                'settings' => &$settings,
    +                'errors' => &$this->_errors
    +            ));
     
                 if (!is_array($this->_errors) || empty($this->_errors)) {
                     if (is_array($settings) && !empty($settings)) {
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

8

News mentions

0

No linked articles in our index yet.