Stored XSS Vulnerability in CMS Serendipity v.2.0-rc1

Subject: Stored XSS Vulnerability in CMS Serendipity v.2.0-rc1

Advisory: Stored XSS Vulnerability in CMS Serendipity v.2.0-rc1
Advisory ID: SROEADV-2014-02
Author: Steffen Rsemann
Affected Software: CMS Serendipity v.2.0-rc1 (Release: 20th Dec 2014)
Vendor URL:
Vendor Status: fixed

Vulnerability Description:

The Content Management System Serendipity v.2.0-rc1 has a stored XSS-vulnerability in its comment functionality. Arbitrary HTML- and/or JavaScriptcode is stored in the database. On the frontend side, it gets sanitized, while on the administrative backend, where new comments are displayed to the administrator after login, it gets immidiately executed.

Technical Details:

If an attacker is posting arbitrary HTML- and/or JavaScriptcode in a comment, which for example is located in the following URL, it will be stored in the database without being sanitized.


When the comments are displayed on the frontend, they will be sanitized, while on the administrative backend it gets displayed unsanitized and is being executed, because the latest comments are shown, after an administrative user has been logged in to the following URL:



Update to the latest version

Disclosure Timeline:
22-Dec-2014 \u2013 found the vulnerability
23-Dec-2014 - informed the developers
23-Dec-2014 - release date of this security advisory
23-Dec-2014 - response and fix by vendor
23-Dec-2014 - post on FullDisclosure


Vulnerability found and advisory written by Steffen Rsemann.


Copyright © 1995-2019 All rights reserved.