Description
WordPress Plugin 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 Related Posts version 5.12.91 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://blog.sucuri.net/2019/04/attacks-on-closed-wordpress-plugins.html
https://stackoverflow.com/questions/55610548/vulnerability-in-closed-plugin-yuzo-related-posts
Related Vulnerabilities
WordPress Plugin Comment Rating 'id' Parameter SQL Injection (2.9.23)
Mailman Other Vulnerability (CVE-2006-2191)
PHP CVE-2022-31629 Vulnerability (CVE-2022-31629)
WordPress Plugin Site Reviews Cross-Site Scripting (5.17.2)
Moodle URL Redirection to Untrusted Site ('Open Redirect') Vulnerability (CVE-2019-14831)