Description
WordPress Plugin WP REST API (WP API) 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 REST API (WP API) version 1.2.2 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 1.2.3 or latest
References
Related Vulnerabilities
Apache Tomcat Missing Release of Resource after Effective Lifetime Vulnerability (CVE-2021-42340)
Oracle JRE CVE-2011-3563 Vulnerability (CVE-2011-3563)
WordPress Plugin AMP for WP-Accelerated Mobile Pages Multiple Unspecified Vulnerabilities (0.9.72)
Next.js URL Redirection to Untrusted Site ('Open Redirect') Vulnerability (CVE-2020-15242)
WordPress Plugin Pinpoint Booking System-#1 WordPress Booking SQL Injection (1.2)