CVE-2026-12108 PUBLISHED

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

Assigner: Wordfence
Reserved: 12.06.2026 Published: 10.07.2026 Updated: 10.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
CVSS Score: 4.4

Product Status

Vendor looswebstudio
Product Highlighting Code Block
Versions Default: unaffected
  • affected from 0 to 2.2.0 (incl.)

Credits

  • Chinnapak Charoensiri finder

References

Problem Types

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') CWE