Multiple vulnerabilities have been discovered in 1 Flash Gallery plugin for WordPress, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks.
1) Input passed via the "type" and "gall_id" parameters to wp-content/plugins/1-flash-gallery/folder.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 an affected site.
2) Input passed via the "gall_id" POST parameter to wp-content/plugins/1-flash-gallery/massedit_album.php (when the "album_id" POST parameter is set to a numeric value and the "images" POST parameter is set) is not properly sanitised before being used. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
The vulnerabilities are confirmed in version 1.0.0. Other versions may also be affected.