Lucene search

K
wpvulndbDnr6419WPVDB-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
wpscan.com
18
photo gallery
vulnerability
admin+
cross-site scripting
unfiltered_html
web browser
inspector
payload
settings
watermark
text
number
general tab

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

PoC

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 WPVDB-ID:F7A0DF37-3204-4926-84EC-2204A2F22DE3