Description
WordPress Plugin YARPP-Yet Another Related 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 YARPP-Yet Another Related Posts version 5.30.2 is vulnerable; prior 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://sploitus.com/exploit?id=WPEX-ID:C6CF792B-054C-4D77-BCAE-3B700F42130B
https://plugins.svn.wordpress.org/yet-another-related-posts-plugin/trunk/readme.txt
Related Vulnerabilities
Apache HTTP Server Other Vulnerability (CVE-2002-1593)
WordPress Plugin Spotlight Cross-Site Scripting (4.7)
Jboss EAP Uncontrolled Resource Consumption Vulnerability (CVE-2020-25644)
WordPress Plugin Dark Mode Cross-Site Scripting (1.6)
WordPress Plugin NextScripts:Social Networks Auto-Poster Cross-Site Scripting (3.4.17)