header-logo
Suggest Exploit
vendor:
WP Sitemap Page
by:
Nikhil Kapoor
8,8
CVSS
HIGH
Stored Cross-Site Scripting (XSS)
79
CWE
Product Name: WP Sitemap Page
Affected Version From: 1.6.4
Affected Version To: 1.6.4
Patch Exists: NO
Related CWE: N/A
CPE: a:wordpress:wordpress:1.6.4
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: Windows
2021

WordPress Plugin WP Sitemap Page 1.6.4 – Stored Cross-Site Scripting (XSS)

A stored XSS vulnerability exists in WordPress Plugin WP Sitemap Page version 1.6.4. An attacker can exploit this vulnerability by installing and activating WP Sitemap Page, navigating to Settings >> WP Sitemap Page >> Settings and entering the XSS payload into the 'How to display the posts' Input field. When the same functionality is triggered, the JavaScript payload is executed successfully and a pop-up is displayed.

Mitigation:

Ensure that user input is properly sanitized and validated before being stored in the database.
Source

Exploit-DB raw data:

# Exploit Title: WordPress Plugin WP Sitemap Page 1.6.4 - Stored Cross-Site Scripting (XSS)
# Date: 07/09/2021
# Exploit Author: Nikhil Kapoor
# Software Link: https://wordpress.org/plugins/wp-sitemap-page/
# Version: 1.6.4
# Category: Web Application
# Tested on Windows

How to Reproduce this Vulnerability:

1. Install WordPress 5.8.0
2. Install and activate WP Sitemap Page
3. Navigate to Settings >> WP Sitemap Page >> Settings and enter the XSS payload into the "How to display the posts" Input field.
4. Click Save Changes.
5. You will observe that the payload successfully got stored into the database and when you are triggering the same functionality at that time JavaScript payload is executing successfully and we are getting a pop-up.
6. Payload Used: </textarea><svg/onload=confirm('XSS')>