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

Cross-Site Request Forgery (CSRF)
CVE CVE-2019-12934
CVSS High (8.8)
Publicly Published July 19, 2019
Last Updated January 22, 2024
Researcher Zeroauth
Description

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.

References

1 affected software package

Software Type Plugin
Software Slug wp-code-highlightjs (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 0.6.3
Patched Version
  • 0.6.3
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.