Lucene search

K
wpvulndbYassir Sbai FahimWPVDB-ID:9AFEC4AA-1210-4C40-B566-64E37ACF2B64
HistoryJun 19, 2023 - 12:00 a.m.

TinyMCE Custom Styles < 1.1.4 - Admin+ Stored Cross-Site Scripting

2023-06-1900:00:00
Yassir Sbai Fahim
wpscan.com
4
xss vulnerability
admin privilege
setting manipulation

0.001 Low

EPSS

Percentile

19.6%

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. Go to โ€œSettingsโ€ ยป โ€œTinyMCE Custom Stylesโ€ section. 2. In the โ€œ2. Manage your custom styles for TinyMCEโ€™s Formats dropdownโ€ area under the โ€œTitleโ€ and โ€œType Valueโ€ fields add payload: "> 3. Save all the settings. Load the page,and an alert box with the number โ€œ1โ€ will pop up.

CPENameOperatorVersion
tinymce-custom-styleslt1.1.4

0.001 Low

EPSS

Percentile

19.6%

Related for WPVDB-ID:9AFEC4AA-1210-4C40-B566-64E37ACF2B64