Description
WordPress is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input. 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 can allow the attacker to steal cookie-based authentication credentials and launch other attacks. WordPress versions ranging from 3.9.3 and up to (and including) 4.2 are vulnerable; other versions may also be affected.
Remediation
Update to WordPress version 4.2.1 or latest
References
https://klikki.fi/adv/wordpress2.html
http://seclists.org/fulldisclosure/2015/Apr/84
https://gist.github.com/ethicalhack3r/48d4e3e73c9241bd5b8c
https://www.exploit-db.com/exploits/36844/
http://packetstormsecurity.com/files/131644/WordPress-4.2-Cross-Site-Scripting.html
Related Vulnerabilities
Drupal Core 4.6.x Form Action Attribute Injection (4.6.0 - 4.6.9)
ownCloud Improper Authentication Vulnerability (CVE-2014-2047)
WordPress Plugin Login rebuilder Cross-Site Request Forgery (1.1.3)
OpenSSL NULL Pointer Dereference Vulnerability (CVE-2022-3358)
WordPress Plugin White Label CMS Cross-Site Scripting (2.2.8)