CVE-2026-12108
Received Received - Intake

Stored XSS in Highlighting Code Block WordPress Plugin

Vulnerability report for CVE-2026-12108, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-10

Last updated on: 2026-07-10

Assigner: Wordfence

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-10
Last Modified
2026-07-10
Generated
2026-07-10
AI Q&A
2026-07-10
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
highlighting_code_block highlighting_code_block to 2.2.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The Highlighting Code Block plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in all versions up to and including 2.2.0. This vulnerability arises from insufficient input sanitization and output escaping in the admin settings.

Authenticated attackers with administrator-level permissions or higher can exploit this vulnerability to inject arbitrary web scripts into pages. These scripts execute whenever a user accesses the injected page.

This vulnerability specifically affects multi-site WordPress installations and installations where the unfiltered_html setting has been disabled.

Impact Analysis

An attacker with administrator-level access can inject malicious scripts that execute in the context of users visiting the affected pages. This can lead to unauthorized actions, data theft, or session hijacking.

Because the vulnerability is a Stored Cross-Site Scripting issue, the malicious code persists on the server and affects all users who access the compromised pages.

The impact is limited by the requirement for high privileges (administrator-level) and the need for multi-site or unfiltered_html-disabled installations, but it still poses a risk to site integrity and user security.

Mitigation Strategies

To mitigate this vulnerability, ensure that you update the Highlighting Code Block plugin for WordPress to a version later than 2.2.0 where the issue is fixed.

Additionally, restrict administrator-level permissions to trusted users only, as exploitation requires authenticated users with such permissions.

If you are running a multi-site installation or have disabled unfiltered_html, consider re-enabling unfiltered_html if possible, or apply additional input sanitization and output escaping measures.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-12108. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart