CVE-2026-8875: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in cuamckuy Easy Prism Syntax Highlighter
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.
AI Analysis
Technical Summary
CVE-2026-8875 is a stored cross-site scripting vulnerability in the Easy Prism Syntax Highlighter WordPress plugin caused by improper neutralization of input during web page generation (CWE-79). The plugin's shortcode() function directly concatenates the first positional shortcode attribute into the class attribute of <pre>/<code> HTML elements without applying escaping functions such as esc_attr(). This allows authenticated users with contributor or higher privileges to inject arbitrary JavaScript code that executes in the context of any user viewing the compromised page. The vulnerability affects versions up to and including 1.0.2. No patch or official remediation level has been published.
Potential Impact
Successful exploitation allows an authenticated contributor or higher to inject persistent malicious scripts into pages, which execute in the browsers of users who view those pages. This can lead to information disclosure and integrity impacts as indicated by the CVSS vector (Confidentiality: Low, Integrity: Low, Availability: None). There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict contributor-level access and above to trusted users only. Consider disabling or removing the Easy Prism Syntax Highlighter plugin if possible to prevent exploitation.
CVE-2026-8875: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in cuamckuy Easy Prism Syntax Highlighter
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 v3.1
Score 6.4medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-8875 is a stored cross-site scripting vulnerability in the Easy Prism Syntax Highlighter WordPress plugin caused by improper neutralization of input during web page generation (CWE-79). The plugin's shortcode() function directly concatenates the first positional shortcode attribute into the class attribute of <pre>/<code> HTML elements without applying escaping functions such as esc_attr(). This allows authenticated users with contributor or higher privileges to inject arbitrary JavaScript code that executes in the context of any user viewing the compromised page. The vulnerability affects versions up to and including 1.0.2. No patch or official remediation level has been published.
Potential Impact
Successful exploitation allows an authenticated contributor or higher to inject persistent malicious scripts into pages, which execute in the browsers of users who view those pages. This can lead to information disclosure and integrity impacts as indicated by the CVSS vector (Confidentiality: Low, Integrity: Low, Availability: None). There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict contributor-level access and above to trusted users only. Consider disabling or removing the Easy Prism Syntax Highlighter plugin if possible to prevent exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-05-18T20:26:39.696Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a169063e29bf47b509e1799
Added to database: 5/27/2026, 6:34:11 AM
Last enriched: 5/27/2026, 6:49:57 AM
Last updated: 5/29/2026, 2:51:31 PM
Views: 18
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.