Lucene search

K
wpexploitLana CodesWPEX-ID:9AF8E425-C477-4E2B-9445-70FFB769F3F0
HistoryJan 12, 2023 - 12:00 a.m.

WP Blog and Widget < 2.3.1 - Contributor+ Stored XSS via Shortcode

2023-01-1200:00:00
Lana Codes
62
wordpress
widget
stored xss
shortcode
contributor
exploit
security

EPSS

0.001

Percentile

25.5%

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.

Note: First, you need to add a Blog Post at http://localhost/wp-admin/edit.php?post_type=blog_post

Exploit shortcode:

[recent_blog_post grid='1" onmouseover="alert(1)"']

EPSS

0.001

Percentile

25.5%

Related for WPEX-ID:9AF8E425-C477-4E2B-9445-70FFB769F3F0