WordPress Z-URL Preview 1.6.1 Cross Site Scripting

WordPress Z-URL Preview plugin version 1.6.1 suffers from a persistent cross site scripting vulnerability.


MD5 | 2049f91b261ca0923e0064f03667d973

Class Input Validation Error
Remote Yes

Credit Ricardo Sanchez
Vulnerable Z-URL Preview 1.6.1

Z-URL Preview 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 url is not filter correctly:


Demo Request:
http://localhost/wordpress/wp-content/plugins/z-url-preview/class.zlinkpreview.php?url=
</script>"><script>alert("XSS")</script>

Related Posts