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
WordPress Plugin WishList Member X SQL Injection (3.25.1)
WordPress Plugin News Element Elementor Blog Magazine Local File Inclusion (1.0.5)
WordPress Plugin Duplicator-WordPress Migration Unspecified Vulnerability (1.1.34)
Jboss EAP Unrestricted Upload of File with Dangerous Type Vulnerability (CVE-2017-12617)