CVE-2026-8875
Received Received - Intake
Stored Cross-Site Scripting in Easy Prism Syntax Highlighter WordPress Plugin

Publication date: 2026-05-27

Last updated on: 2026-05-27

Assigner: Wordfence

Description
The Easy Prism Syntax Highlighter plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'code' (and 'c') shortcode in versions up to, and including, 1.0.2. This is due to insufficient input sanitization and output escaping on user supplied shortcode attributes in the shortcode() function, which concatenates the first positional attribute directly into the class attribute of the generated <pre>/<code> HTML without calling esc_attr() or any other escaping function. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-27
Last Modified
2026-05-27
Generated
2026-05-27
AI Q&A
2026-05-27
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
easy_prism syntax_highlighter to 1.0.2 (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 Powered Q&A
Can you explain this vulnerability to me?

The Easy Prism Syntax Highlighter plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in its 'code' and 'c' shortcodes in versions up to and including 1.0.2.

This vulnerability arises because the plugin does not properly sanitize or escape user-supplied shortcode attributes before inserting them into the HTML class attribute of the generated <pre>/<code> elements.

As a result, authenticated users with contributor-level access or higher can inject arbitrary malicious scripts that will execute whenever any user views the affected page.


How can this vulnerability impact me? :

This vulnerability can allow attackers with contributor-level access to inject malicious scripts into pages on a WordPress site.

When other users visit these pages, the injected scripts will execute in their browsers, potentially leading to theft of sensitive information, session hijacking, or other malicious actions.

Because the vulnerability requires authenticated access, it primarily impacts sites where contributors or higher roles are not fully trusted or where user permissions are not tightly controlled.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart