WordPress Portrait-Archiv.com Photostore plugin version 5.0.4 suffers from a cross site scripting vulnerability.
e2df683a37c9e917380fcfae1c64e51f9d4d40bf4ff0b4148abae1368864fc91
Class Input Validation Error
Remote Yes
Credit Ricardo Sanchez
Vulnerable Portrait-Archiv.com Photostore 5.0.4
Portrait-Archiv.com is prone to a reflected 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/portrait-archiv-shop/js/imageDetails.php?&pDetails=);});%3C/script%3E%3Cscript%3Ealert(%22XSS%22)%3C/script%3E