Vulnerability ID: HTB23022 Reference: http://www.htbridge.ch/advisory/xss_in_flatpress.html Product: FlatPress Vendor: Edoardo Vacchi ( http://flatpress.org ) Vulnerable Version: 0.1010.1 and probably prior Tested on: 0.1010.1 Vendor Notification: 07 June 2011 Vulnerability Type: XSS (Cross Site Scripting) Status: Fixed by Vendor Risk level: Medium Credit: High-Tech Bridge SA Security Research Lab ( http://www.htbridge.ch/advisory/ ) Vulnerability Details: High-Tech Bridge SA Security Research Lab has discovered vulnerability in FlatPress, which can be exploited to perform cross-site scripting attacks. Input passed via the "name", "email", "url" POST parameters to index.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of affected website. The following PoC code is available:
Solution: Upgrade to the most recent version