Description
WordPress Plugin WP Code Highlight.js 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 WP Code Highlight.js version 0.6.3 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://github.com/owt5008137/WP-Code-Highlight.js/issues/28#issuecomment-546673026
https://wordpress.org/plugins/wp-code-highlightjs/#description
Related Vulnerabilities
Cherokee Cryptographic Issues Vulnerability (CVE-2011-2190)
MediaWiki Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2015-8625)
WordPress Plugin Adavnced Video embed Local File Inclusion (1.0)
WordPress Plugin Disable Image Right Click Cross-Site Scripting (1.0)
WordPress Plugin WP YouTube Live Cross-Site Scripting (1.8.2)