Description
WordPress Plugin Rich Table of Contents 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 Rich Table of Contents version 1.3.7 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 1.3.8 or latest
References
https://sploitus.com/exploit?id=WPEX-ID:91C00B17-00BA-4C3F-8587-D54449A02659
https://plugins.svn.wordpress.org/rich-table-of-content/trunk/readme.txt
Related Vulnerabilities
Moodle Other Vulnerability (CVE-2006-4941)
WordPress Plugin About Author Cross-Site Scripting (1.3.9)
WordPress Plugin Clever Addons for Elementor Multiple Cross-Site Scripting Vulnerabilities (2.0.15)
WordPress Plugin Age Verification 'redirect_to' Parameter URI Redirection (0.4)
WordPress Plugin AdRotate-Ad manager & AdSense Ads 'track' Parameter SQL Injection (3.6.5)