Description
WordPress Plugin WP OAuth Server (OAuth Authentication) 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 OAuth Server (OAuth Authentication) version 4.2.1 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 4.2.2 or latest
References
https://sploitus.com/exploit?id=WPEX-ID:33DDDAEC-A32A-4FCE-89D6-164565BE13E1
https://plugins.svn.wordpress.org/oauth2-provider/trunk/readme.txt
Related Vulnerabilities
WordPress Use of Insufficiently Random Values Vulnerability (CVE-2017-17091)
WordPress Plugin Wordfence Security-Firewall & Malware Scan Multiple Vulnerabilities (7.1.12)
TYPO3 Improper Input Validation Vulnerability (CVE-2010-5099)
MySQL CVE-2014-6495 Vulnerability (CVE-2014-6495)
WordPress Plugin LearnPress-WordPress LMS SQL Injection (4.1.3.2)