Crayon Syntax Highlighter 2.0 - 2.6.10 - Missing Authorization

Missing Authorization
CVSS 5.4 (Medium)
Publicly Published April 20, 2015
Last Updated December 5, 2022
Researcher James Hooker


The Crayon Syntax Highlighter Plugin for WordPress is vulnerable to authorization bypass due to a missing capability check on the crayon-theme-editor-save AJAX action in versions 2.0 - 2.6.10. This makes it possible for authenticated attackers, with subscriber-level permissions and above, to overwrite theme files.



Vulnerability Details for Crayon Syntax Highlighter

Software Type Plugin
Software Slug crayon-syntax-highlighter (view on
Patched? Yes
Remediation Update to version 2.7.0, or a newer patched version
Affected Version
  • 2.0 - 2.6.10
Patched Version
  • 2.7.0

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.