Description
WordPress Plugin TC Custom JavaScript 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 TC Custom JavaScript version 1.2.1 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 1.2.2 or latest
References
https://www.wordfence.com/blog/2020/07/high-severity-vulnerability-patched-in-tc-custom-javascript/
https://plugins.svn.wordpress.org/tc-custom-javascript/trunk/readme.txt
Related Vulnerabilities
Zenphoto Other Vulnerability (CVE-2006-2187)
WordPress Plugin Store Locator for WordPress with Google Maps-LotsOfLocales SQL Injection (3.11)
Invision Power Board version 3.3.4 unserialize PHP code execution
WordPress Plugin Church Admin Arbitrary File Upload (1.2530)
WordPress Plugin Anti-Malware Security and Brute-Force Firewall Cross-Site Scripting (4.15.22)