Vulnerability 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 Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/highlighting-code-block/tags/2.1.3/cl
- https://plugins.trac.wordpress.org/browser/highlighting-code-block/tags/2.1.3/cl
- https://plugins.trac.wordpress.org/browser/highlighting-code-block/tags/2.1.3/cl
- https://plugins.trac.wordpress.org/browser/highlighting-code-block/tags/2.2.0/cl
- https://plugins.trac.wordpress.org/browser/highlighting-code-block/tags/2.2.0/cl
- https://plugins.trac.wordpress.org/browser/highlighting-code-block/tags/2.2.0/cl
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3592103%40highlightin
- https://www.wordfence.com/threat-intel/vulnerabilities/id/166e1d3a-3fd9-4ab0-ba0
FAQ
What is CVE-2026-12108?
CVE-2026-12108 is a vulnerability with a CVSS score of 4.4 (MEDIUM). 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 ...
How severe is CVE-2026-12108?
CVE-2026-12108 has been rated MEDIUM with a CVSS base score of 4.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-12108?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.