WordPress Plugin Vulnerabilities

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

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.

Affects Plugins

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Chinnapak Charoensiri
Verified
No

Timeline

Publicly Published
2026-07-09 (about 3 months ago)
Added
2026-07-09 (about 3 months ago)
Last Updated
2026-07-10 (about 3 months ago)

Other