lazygal is another static web gallery generator written in Python. It is command line based, uses reusable engine and is lazy - it regenerates only parts that have to be regenerated.
There is support for many interesting features like subgalleries, EXIF information, theming and custom folder meta data. Included themes are pure XHTML + CSS.
There are no reported vulnerabilities