Vulnerability ID: HTB22828 Reference: http://www.htbridge.ch/advisory/multiple_xss_vulnerabilities_in_photopad.html Product: Photopad Vendor: Cherry-Design ( http://www.cherry-software.spb.ru/ ) Vulnerable Version: 1.2.0 Vendor Notification: 01 February 2011 Vulnerability Type: XSS (Cross Site Scripting) Risk level: Medium Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/) Vulnerability Details: User can execute arbitrary JavaScript code within the vulnerable application. The vulnerability exists due to failure in the "files.php" and "gallery.php" scripts to properly sanitize user-supplied input in "id", "data[title]" variables. Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data. An attacker can use browser to exploit this vulnerabilities. The following PoC is available: 1. http://host/files.php?action=edit&id=999"> 2. http://host/gallery.php?action=view&id=999"> 3.