Authored by Vuln Seeker Cybersecurity Team

WordPress PVN Auth Popup plugin version 1.0.0 suffers from a persistent cross site scripting vulnerability.

# Exploit Title: PVN Auth Popup <= 1.0.0 - Admin+ Stored XSS
# Date: 08-04-2024
# Exploit Author: Vuln Seeker Cybersecurity Team
# Vendor Homepage: https://wordpress.org/plugins/pvn-auth-popup/
# Version: <= 1.0.0
# Tested on: Firefox
# Contact me: [email protected]

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)
Proof of Concept

1. Go to https://example.com/wp-admin/admin.php?page=pvn_auth_popup
2. In the first section, enter the payload `"><script>alert(1)</script>`
for the "Login text" input
3. Save and see the XSS

Note: Other fields are likely vulnerable

Reference:
https://wpscan.com/vulnerability/24685b19-0a44-411a-9e1b-d4d0627d7cb6/