WordPress Sagepay Server Gateway For WooCommerce plugin version 1.0.7 suffers from a persistent cross site scripting vulnerability.
a1e26e9a88b4ddfb7ecd7cc345817ca900f281621be4abee4b9fc7cfe1b7235d
Class Input Validation Error
Remote Yes
Credit Ricardo Sanchez
Vulnerable SagePay Server Gateway for WooCommerce 1.0.7
SagePay Server Gateway for WooCommerce 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 page is not filter correctly:
Demo Request:
http://localhost/wordpress/wp-content/plugins/sagepay-server
-gateway-for-woocommerce/includes/pages/redirect.php?page=
</script>"><script>alert("R1XS4.COM")</script>