WP Code Highlight.js <= 0.6.2 - Cross-Site Request Forgery to Cross-Site Scripting

2019-07-19 00:00
Zeroauth

Strategic Overview

Status
Patched in 0.6.3
Affected PluginWP Code Highlight.js
Affected Version< 0.6.3
CVSS8.8High
CVECVE-2019-12934
View all WP Code Highlight.js vulnerabilities

Vulnerability Overview

The WP Code Highlight.js plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 0.6.2. This is due to missing or incorrect nonce validation on the hljs_settings_page() function. This makes it possible for unauthenticated attackers to inject malicious web scripts via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

Technical Analysis

REMEDIATION: Update to version 0.6.3, or a newer patched version --- IDENTIFIER: CWE-352 (Cross-Site Request Forgery (CSRF)) The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C