The plugin does not properly validate and escape some of its settings, which could allow high privilege users such as admin to perform Cross-Site Scripting attacks when unfiltered_html is disallowed
Go to Photo Gallery > Global Settings > Watermark
Using the web browser inspector, change the input type of the "Watermark font size" and "Watermark opacity" fields from number to text, and put the following payload in them, then save: " autofocus onfocus=alert(/XSS/)//
Other settings which should be number (such as "Number of preloaded images" in the General tab) are also affected