A basic but highly-customizable PHP gallery script with optional thumbnail creation. Designed with screencaps in mind, it works best for large galleries of same-sized images.
Inproper filtering of action ?page= can lead to XSS.
Anoother one be:
The current version of this script puts slashes in for ' and " but alot of other characters aren't filtered.