Description
WordPress Plugin WP Ajax Recent Posts 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 Plugin WP Ajax Recent Posts version 1.0.1 is vulnerable; other versions may also be affected.
Remediation
Edit the source code to ensure that input is properly sanitised or disable the plugin until a fix is available
References
https://www.htbridge.com/advisory/HTB22951
http://packetstormsecurity.com/files/100848/WP-Ajax-Recent-Posts-1.0.1-Cross-Site-Scripting.html
Related Vulnerabilities
Joomla Other Vulnerability (CVE-2006-1047)
MySQL CVE-2004-0957 Vulnerability (CVE-2004-0957)
WordPress Plugin Ultimate Addons for Beaver Builder Cross-Site Scripting (1.24.3)
ownCloud Permissions, Privileges, and Access Controls Vulnerability (CVE-2014-2049)
Moodle Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2011-3757)