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
PHP Release of Invalid Pointer or Reference Vulnerability (CVE-2022-31625)
Drupal Core 9.0.x Multiple Security Bypass Vulnerabilities (9.0.0 - 9.0.14)
WordPress Plugin WordPress Contact Forms by Cimatti Cross-Site Scripting (1.4.11)
Lighttpd Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2008-1270)
WordPress Plugin ClickBank Affiliate Ads Multiple Vulnerabilities (1.7)