Skip to main content

Highlighting Code Block CVE-2026-12108

| EUVDEUVD-2026-42841 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-10 Wordfence GHSA-cfxv-7hcj-vfr5
4.4
CVSS 3.1 · Vendor: Wordfence
Share

Severity by source

Vendor (Wordfence) PRIMARY
4.4 MEDIUM
AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
vuln.today AI
4.4 MEDIUM

Administrator authentication (PR:H) and non-default unfiltered_html restriction (AC:H) are both mandatory; scope change captures cross-user XSS impact on other browsers.

3.1 AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Analysis Generated
Jul 10, 2026 - 09:17 vuln.today
CVE Published
Jul 10, 2026 - 07:48 cve.org
MEDIUM 4.4

DescriptionCVE.org

The Highlighting Code Block plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 2.2.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

AnalysisAI

Stored Cross-Site Scripting in the Highlighting Code Block WordPress plugin (versions ≤ 2.2.0) allows authenticated attackers holding administrator-level permissions to inject persistent malicious scripts via the plugin's admin settings panel, with those scripts executing in the browsers of any user who subsequently visits an affected page. Exploitation is constrained to WordPress multi-site network installations or single-site deployments where the unfiltered_html capability has been explicitly disabled - conditions that are non-default and substantially narrow the attacker population. No public exploit code or active exploitation has been identified at time of analysis; Wordfence, the reporting source, has published a fix commit to the plugin's SVN repository, though a specific patched release version is not yet confirmed.

Technical ContextAI

The vulnerability is a Stored Cross-Site Scripting flaw (CWE-79: Improper Neutralization of Input During Web Page Generation) in the Highlighting Code Block plugin developed by looswebstudio (CPE: cpe:2.3:a:looswebstudio:highlighting_code_block:*:*:*:*:*:*:*:*). Source code references pinpoint the defective logic across three class files: loos_hcb.php (line 158), loos_hcb_menu.php (line 23), and loos_hcb_scripts.php (line 69), indicating that multiple admin-facing input fields fail both to sanitize values on input and to escape them on output. In standard WordPress single-site deployments, administrators inherently possess the unfiltered_html capability, which already permits raw HTML and script injection through core interfaces - making this plugin-level sanitization gap moot in that context. The flaw becomes exploitable only where that capability is revoked, specifically on multi-site networks (where site-level admins may lack super-admin privileges) or hardened single-site installs using the DISALLOW_UNFILTERED_HTML constant or equivalent security hardening.

RemediationAI

The primary remediation is to update the Highlighting Code Block plugin to a version beyond 2.2.0 once a patched release is published to the WordPress plugin directory. A fix commit is available in the plugin's SVN repository at https://plugins.trac.wordpress.org/changeset?reponame=&old=3592103%40highlighting-code-block&new=3592103%40highlighting-code-block, but a specific tagged patched release version has not been independently confirmed from available data - verify the current version in the WordPress plugin repository before updating. As a compensating control, administrators should audit which accounts hold administrator-level privileges and reduce that set to the minimum necessary, since the attack requires administrator authentication. On multi-site networks, restrict site-admin capabilities using WordPress's native capability management rather than relying on plugin-level filtering. If the Highlighting Code Block plugin is not actively in use, deactivating and removing it eliminates the attack surface entirely with no functional trade-off. Additionally, deploying a web application firewall with XSS filtering rules (such as Wordfence's own firewall ruleset) can block injection attempts as a defense-in-depth measure, though this should not substitute for patching.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

CVE-2024-50498 CRITICAL POC
10.0 Oct 28

Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u

Share

CVE-2026-12108 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy