GHSA-63x8-x938-vx33
GHSA-7xjm-g8f4-rp26
GHSA-83mq-cmhp-6pvq
GHSA-ffq7-898w-9jc4
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPost malicious comment via form
-
DeliveryShortcode stored in database
-
ExploitComment rendered on page view
-
ExecutionUnsanitized class parameter output
-
PersistJavaScript executes in visitor browser
-
ImpactAttacker steals session or performs actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three specific conditions: (1) the CodeColorer plugin must be installed and activated on the WordPress site, (2) comments must be enabled on at least one post, and (3) guest comments (comments from unauthenticated users) must be permitted on that post. If any of these conditions is not met, the vulnerability cannot be exploited. The attack is further limited by the need for a potential victim to visit the page containing the malicious comment after it is posted; posts in drafts, pending moderation, or on low-traffic pages reduce real-world exploitation probability. Additionally, WordPress security plugins with comment filtering or WAF protection may block injection attempts. |
| Impact | This vulnerability represents a moderate real-world risk that varies by deployment context. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:C) indicates network accessibility, low complexity, no authentication required, but requires user interaction (UI:R) - the victim must visit a page containing the malicious comment. The scope is changed (S:C), meaning the impact affects resources beyond the vulnerable component, which is typical for XSS in shared blog environments. The impact is limited to confidentiality and integrity (C:L/I:L) with no availability impact, suggesting data theft or session hijacking rather than complete system compromise. Real-world severity depends heavily on two gatekeeping factors: comments must be enabled on the post AND guest comments must be allowed. Many WordPress sites disable guest comments or heavily moderate them, which significantly reduces the attack surface. However, sites with open comment policies and high traffic are attractive targets for injecting SEO-spam or malware distribution payloads. No EPSS probability score is provided in the input, preventing probabilistic exploitation assessment. No KEV (CISA Known Exploited Vulnerabilities) status or public POC availability is documented, suggesting limited widespread exploitation at the time of this advisory. The Wordfence source indicates organized security research rather than wild exploitation, and the referenced WordPress plugin changeset suggests an available patch. |
| Exploit ScenarioDerived | An attacker crafts a WordPress comment containing the malicious shortcode: [cc class="onload=alert('xss')"]code here[/cc]. They post this comment on a blog post where guest comments are enabled, and the payload is stored in the WordPress database. When a site visitor views that page, the plugin renders the comment, outputs the unsanitized 'class' parameter into an HTML attribute, and the browser interprets the injected JavaScript, executing arbitrary code in the visitor's session context. The attacker can steal session cookies, perform administrative actions on behalf of the victim, or redirect users to malicious sites. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 16, 2026
Stored Cross-Site Scripting (XSS) in CodeColorer plugin for WordPress versions up to 0.10.1 allows unauthenticated attackers to inject malicious JavaScript via the 'class' parameter in the 'cc' comment shortcode, which executes in the browsers of users viewing the affected page. Exploitation requires comments to be enabled and guest comments permitted on the target post. The vulnerability has a CVSS score of 6.1 with low complexity and no authentication required, but user interaction (visiting the affected page) is necessary for the payload to execute.
RemediationAI
Update the CodeColorer plugin to a patched version released after 0.10.1. The WordPress plugin repository changeset 3481552 indicates a fix is available in the plugin's source code repository; administrators should update through the WordPress plugin management interface or directly from https://plugins.trac.wordpress.org/changeset/3481552/codecolorer. If immediate patching is not possible, disable the CodeColorer plugin until a patch is applied. As a temporary mitigation, disable guest comments on all posts or globally through Settings > Discussion, which prevents unauthenticated attackers from injecting payloads, though this impacts legitimate user engagement. Additionally, review existing comments for suspicious 'class' parameter values in 'cc' shortcodes and delete any that contain angle brackets, quotes, or event handlers (e.g., onclick, onerror). Website administrators can audit for exploitation by searching the database for comment content containing [cc class= followed by suspicious characters or JavaScript keywords.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CodeColorer is a WordPress plugin (CPE: cpe:2.3:a:kpumuk:codecolorer:*:*:*:*:*:*:*:*) that provides syntax highlighting functionality through shortcodes. The vulnerability exists in the 'cc' comment shortcode parser, which accepts a 'class' parameter intended for CSS styling. The plugin fails to properly sanitize this parameter before storing it in the database and fails to escape it when outputting to HTML, creating a classic Stored XSS vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation). The shortcode is processed when comments are rendered, making stored payloads execute in the context of any page containing an infected comment when viewed by site visitors.
Know when Codecolorer gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
The CodeColorer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'class' parameter in 'cc' comment shortcode in versions up to, and including, 0.10.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires comments to be enabled on the target post and guest comments to be allowed.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Codecolorer
View allThe CodeColorer WordPress plugin before 0.10.1 does not sanitise and escape some of its settings, which could allow high
Stored cross-site scripting in the CodeColorer syntax-highlighting plugin for WordPress (all versions through 0.12.0) al
EUVD-2026-23170
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB