CVE-2026-8875
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
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| easy_prism | syntax_highlighter | to 1.0.2 (inc) |
Helpful Resources
Exploitability
| 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.