Lucene search

K
wpvulndbLana CodesWPVDB-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
wpscan.com
3

5.4 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

0.0004 Low

EPSS

Percentile

12.0%

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

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)”’]

CPENameOperatorVersion
wp-blog-and-widgetslt2.3.1

5.4 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

0.0004 Low

EPSS

Percentile

12.0%

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