Lucene search

K
wpvulndbNicoloWPVDB-ID:98E050CF-5686-4216-BAD1-575DECF3EAA7
HistoryApr 03, 2024 - 12:00 a.m.

Better Comments < 1.5.6 - Admin+ Stored XSS

2024-04-0300:00:00
Nicolo
wpscan.com
6
plugin
stored cross-site scripting
settings
high privilege users
unfiltered_html capability
multisite setup
poc
update
software

5.5 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

8.9%

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. From the WordPress menu on the left, go to Better Comments menu. 2. Under the “Form” menu, scroll down until “Form Options”. 3. Enable “Add comment policy”, set “Position” attribute to “after comment box (all users)” and set the “Comment policy” to the payload: 4. Click “Save Changes” on the top right. 5. Open a WordPress post and notice the payload being executed.

CPENameOperatorVersion
eq1.5.6

5.5 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

8.9%

Related for WPVDB-ID:98E050CF-5686-4216-BAD1-575DECF3EAA7