Title: *WordPress WooPay a Inicis 1.1.3 Cross Site Scripting*
File:
Class Input Validation Error
Remote Yes
Credit Ricardo Sanchez
Vulnerable WooPay a Inicis 1.1.3
WooPay a Inicis Plugin is prone to a stored cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied data.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.
To exploit this issue following steps:
The XSS reflected because the value "woopay_plugin_name" is not filter
correctly:
Demo Request:
http://localhost/wordpress/wp-content/plugins/woopay-inicis/assets/js/refund.php?woopay_plugin_name=</script>"><script>alert("R1XS4.COM")</script>