Lucene search

K
wpexploitDnr6419WPEX-ID:F7A0DF37-3204-4926-84EC-2204A2F22DE3
HistoryMay 16, 2022 - 12:00 a.m.

Photo Gallery < 1.6.4 - Admin+ Stored Cross-Site Scripting

2022-05-1600:00:00
dnr6419
92
photo gallery
admin+
stored
cross-site scripting
watermark
global settings
web browser
inspector
payload
number
general tab
preloaded images
exploit

EPSS

0.001

Percentile

24.8%

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

EPSS

0.001

Percentile

24.8%

Related for WPEX-ID:F7A0DF37-3204-4926-84EC-2204A2F22DE3