Cross-Site Scripting (XSS) Vulnerability in Horde Groupware (CVE-2016-2228)

php-horde Updated 02 Oct 2025

Summary

13/04/2016
N/A
Yes i
Medium
6.1

CVE-2016-2228: Cross-site scripting (XSS) vulnerability in horde/templates/topbar/_menubar.html.php in Horde Groupware before 5.2.12 and Horde Groupware Webmail Edition before 5.2.12 allows remote attackers to inject arbitrary web scri... Affects php-horde across 3 version ranges.

< 3fe64ecd26818ef6d7d9354ebdc4d59bdf0b781d < 5.2.9+debian0-1 < ab07a1b447de34e13983b4d7ceb18b58c3a358d8

Fixed in 5.2.9+debian0-1. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Horde Groupware is a web-based application suite that provides a range of tools for collaboration, including email, calendar, and task management. It is designed to be modular and extensible, allowing users to customize their experience. The package is widely used in various environments, but it has been found to be vulnerable to a cross-site scripting (XSS) attack, which can compromise user data and security.

Vulnerability Detail

The vulnerability identified as CVE-2016-2228 is a cross-site scripting (XSS) flaw located in the horde/templates/topbar/_menubar.html.php file. This issue arises from improper handling of the 'searchfield' parameter, allowing remote attackers to inject arbitrary web scripts or HTML. The potential ramifications include unauthorized access to user sessions, data theft, and the ability to execute malicious scripts in the context of the user's browser, leading to further exploitation.

How To Fix

Minimum fixed version

5.2.9+debian0-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade php-horde

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

Workaround

As a temporary workaround, users can sanitize the input for the 'searchfield' parameter to prevent the execution of malicious scripts. This can be done by implementing input validation and encoding output in the application code. For example:

if (isset($_GET['searchfield'])) {
    $searchfield = htmlspecialchars($_GET['searchfield'], ENT_QUOTES, 'UTF-8');
}

Conclusion

CVE-2016-2228 represents a significant security risk for users of Horde Groupware prior to version 5.2.12. It is crucial to update the software to mitigate the risk of XSS attacks. Additionally, implementing input validation can serve as a temporary measure until the update is applied.

See every vulnerability recorded for php-horde →

Share this vulnerability

FAQ

CVE-2016-2228 is a cross-site scripting vulnerability in Horde Groupware that allows attackers to inject malicious scripts via the 'searchfield' parameter.

If you are using Horde Groupware versions prior to 5.2.12, your installation is vulnerable. You can check your version using the command 'dpkg -l | grep php-horde'.

Exploitation of this vulnerability can lead to unauthorized access to user accounts, data theft, and the execution of malicious scripts in the user's browser.

Yes, you can use Vulert, which monitors open-source vulnerabilities in your software using a manifest file like package-lock.json. You can check your application for vulnerabilities without any signup at the Vulert playground.

The CVSS score for CVE-2016-2228 is 6.1, indicating a medium severity level.

Related vulnerabilities

Recent vulnerabilities recorded for php-horde.

How To Fix

Minimum fixed version

5.2.9+debian0-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade php-horde

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