Vulnerability ID: HTB22961 Reference: http://www.htbridge.ch/advisory/xss_in_wp_photo_album_wordpress_plugin.html Product: WP Photo Album wordpress plugin Vendor: Rubin J. Kaplan ( http://me.mywebsight.ws/ ) Vulnerable Version: 1.5.1 Vendor Notification: 14 April 2011 Vulnerability Type: XSS (Cross Site Scripting) Risk level: Medium Credit: High-Tech Bridge SA Security Research Lab ( http://www.htbridge.ch/advisory/ ) Vulnerability Details: User can execute arbitrary JavaScript code within the vulnerable application. The vulnerability exists due to failure in the "wppa.php" script to properly sanitize user-supplied input in "id" variable. 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. The following PoC is available: http://[host]/wp-admin/admin.php?page=wp-photo-album/wppa.php&tab=del&id=%22%3E%3Cscript%3Ealert%28document.cookie%29%3C/script%3E