Lucene search

K
wpvulndbCaonWPVDB-ID:9C70CFC4-5759-469A-A6A3-510C405BD28A
HistoryJun 05, 2024 - 12:00 a.m.

Simple Photoswipe <= 0.1 - Admin+ Stored XSS

2024-06-0500:00:00
caon
wpscan.com
2
photoswipe
stored xss
admin privilege
unfiltered html
plugin vulnerability

5.4 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%

Description The plugin does not sanitise and escape some of its settings, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup).

PoC

  1. As admin, go to plugin settings (wp-admin/options-general.php?page=admin-options.php) 2) In either “Bar Size” or “Image Counter Separator” add the payload "/> 3) Save and reload the page to see the popup -– As user: Requisite: a post or page with the gallery widget 1) Visit any post that contains the gallery widget 2) The malicious payload above will get reflected inside the page source code.

5.4 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%

Related for WPVDB-ID:9C70CFC4-5759-469A-A6A3-510C405BD28A