Tiny Web Gallery 1.4 - 'index.php' Cross-Site Scripting

Related Vulnerabilities: CVE-2006-1802  
Publish Date: 15 Apr 2006
Author: Qex
                source: http://www.securityfocus.com/bid/17536/info

Tiny Web Gallery is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input. 

An attacker may leverage this issue to have arbitrary script code executed in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.

Versions 1.4 and prior are vulnerable.

http://www.example.com/[PATH]/index.php?twg_album='><script>alert(document.cookie)</script>