Advisory #: 435
Title: Reflected XSS in wordpress plugin parsi-font v4.2.5
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/parsi-font
Downloads: 13148
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org, fixed v4.3
Plugin Name: parsi-font
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./parsi-font/css.php: 3: font-size: <?php echo $_GET['size'];?>px; 4: font-family: <?php echo $_GET['font'];?>; The variable size appears to send unsanitized data back to the users browser.
CVE-ID: 2016-1000142
File:./parsi-font/css.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/parsi-font/css.php?size="><script>alert(1);</script><"