Lucene search

K
wpvulndbDmitrii IgnatyevWPVDB-ID:92E0F5CA-0184-4E9C-B01A-7656E05DCE69
HistoryMay 23, 2024 - 12:00 a.m.

FooGallery < 2.4.15 - Author+ Stored XSS

2024-05-2300:00:00
Dmitrii Ignatyev
wpscan.com
5
security vulnerability
stored xss
foogallery
plugin
validation
escape
gallery settings
cross-site scripting
admin

8.1 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%

Description The plugin does not validate and escape some of its Gallery settings before outputting them back in the page, which could allow users with a role as low as Author to perform Stored Cross-Site Scripting attacks which could be used against high privilege users such as admin

PoC

Create a new Gallery (with at least one image) and put the below payload in the Gallery Settings > Advanced > Custom Attributes settings 123=“” onpointerenter=“alert(/XSS/)” The XSS will be triggered in page/post where the gallery is embed and the mouse is moved over the image from the gallery

CPENameOperatorVersion
eq2.4.15
eq2.4.15

8.1 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%

Related for WPVDB-ID:92E0F5CA-0184-4E9C-B01A-7656E05DCE69