Highlighting Code Block

Highlighting Code Block has one disclosed vulnerability in the WordSec catalog, all reported in 2026; it is fixed as of August 2026. Their average CVSS score is 4.4, and the most serious one scores 4.4 out of 10.

The most common weakness is Cross-Site Scripting, behind 1 of the records (100%).

The one issue recorded for Highlighting Code Block has a vendor fix available, so running the current release closes it.

All of these findings were reported by Chinnapak Charoensiri. Highlighting Code Block is installed on roughly 10,000 WordPress sites, so each unpatched flaw has a wide blast radius. The current release is tested up to WordPress 7.0.4.

Strategic Overview

Avg CVSSMedium
4.4/ 10
Patch Coverage100%
Open

0

Fixed

1

Get automatic notifications for all Highlighting Code Block vulnerabilities before they are exploited.

Highest severity on recordCVSS 4.4CVE-2026-12108

Highlighting Code Block <= 2.2.0 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'font_family' Setting

Read the full analysis

Vulnerability Records

1 records
Highlighting Code Block banner
Latestv2.2.1

Highlighting Code Block

LOOS

Author

LOOS

4.5(19)
90/100
Last Updated
2026-07-01 (2mo ago)
Active Installs
10,000+
Downloads
193,708
Requires WP
5.6+
Requires PHP
5.6+
Tested up to
WP 7.0.4
Created
2018-12-12 (8y ago)

“Highlighting Code Block” allows you to add a syntax-highlighted code block with just a click. It supports both “Block Editor” and “Classic Editor”. (However, we recommend using it in the “Block Editor”.) Please see the following page for a detailed explanation of this plugin. URL: https://loos.co.jp/en/documents/highlighting-code-block/ Source code The source code of this plugin is available on Github. URL: https://github.com/ddryo/Highlighting-Code-Block How to use How to use (For Block Editor) Open the “Formatting” category of the Block Inserter. There is a custom block named “Highlighing Code Block”. Select it, the block will be inserted. Select the language of the code and enter any code. How to use (For Classic Editor) You should see a select box labeled “Code Block” on the toolbar (2nd row by default). When you select a language from the select box, a code block (pre tag) is inserted. If it doesn’t work This plugin works only with PHP version 5.6 or later, WordPress 5.6 or later. Please check your PHP version or WordPress version. About settings The menu “[HCB] Settings” should be added to “Settings” in the left menu of the management screen. Settings related to this plugin are set in this menu.

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