Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit benign comment, get approved
-
DeliveryPost second comment with XSS payload
-
ExploitPlugin stores comment with insufficient escaping
-
ExecutionVictim loads page, script executes in browser
-
ImpactSession/credential theft or content manipulation
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 that the attacker has already had at least one prior comment approved under the same name and email pair, because WordPress's comment_previously_approved check then auto-approves their subsequent comments, allowing the malicious payload to be stored without moderation. The target site must be running the CodeColorer plugin at version 0.12.0 or earlier and must accept public comments. Payload execution additionally depends on a victim subsequently viewing the page containing the injected comment. These factors - the mandatory prior-approval gate and reliance on a later page view - are what make this high-complexity (AC:H) despite being unauthenticated and network-reachable. |
| Impact | This is a moderate, not emergency, priority. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N, base 5.4) describes an unauthenticated, network-reachable stored XSS with low confidentiality and integrity impact and a scope change into the victim's browser context. The high attack complexity (AC:H) is corroborated by the description's precondition: WordPress's comment_previously_approved auto-approval means the attacker must already have had one comment approved under the same name/email pair before a malicious comment is stored without moderation - a meaningful gate that reduces mass, opportunistic exploitation. No EPSS score is provided, the CVE is not on CISA KEV, and no proof-of-concept or working exploit is present in the input (only the Wordfence advisory, source lines, and the fixing PR are referenced), so this is not confirmed as actively exploited. The vuln.today Decision label is 'this_month', consistent with a real but non-urgent fix window. Signals are internally consistent - no conflict between the network vector and the description, since comment-based stored XSS is genuinely remote; the main caveat is that EPSS is absent, so exploitation probability cannot be quantified from the data. |
| Exploit ScenarioDerived | An attacker first posts a benign comment under a chosen name/email and waits for it to be approved, which causes WordPress to auto-approve their later comments. They then submit a second comment containing a crafted code-block/comment payload that the CodeColorer plugin renders without sufficient sanitization; the script executes in the browser of any user who later views that page. No public exploit code is identified in the provided sources. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
Stored cross-site scripting in the CodeColorer syntax-highlighting plugin for WordPress (all versions through 0.12.0) allows remote attackers to plant arbitrary script in comment content that executes in the browser of anyone who later views the affected page. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N) rates it 5.4: network-reachable and unauthenticated, but high complexity because exploitation only works after the attacker has already had one comment approved under the same name and email pair, which causes WordPress's comment_previously_approved check to auto-approve subsequent comments without moderation. No public exploit code and no confirmed active exploitation were identified at time of analysis; vuln.today's decision label places it in the this_month remediation queue rather than an emergency tier, meaning a moderate priority rather than urgent action.
RemediationAI
Vendor-released patch: 0.12.1. Upgrade CodeColorer to 0.12.1 from the WordPress.org plugin directory or by deploying the 0.12.1 tag from https://github.com/kpumuk/codecolorer, which incorporates pull request 85 and changeset 3819465 (https://plugins.trac.wordpress.org/changeset/3819465/codecolorer/trunk/codecolorer-core.php); the release swaps the comment_text hook from callBeforeHighlightCodeBlock to callBeforeHighlightComment and runs the non-code portion of each comment through wp_kses with the pre_comment_content allowlist. Verify after upgrade that the plugin header and CODECOLORER_VERSION constant both read 0.12.1. Because exploitation depends on a previously approved comment from the same name and email pair, sites that do not accept public comments are not exposed through this path, and until the update is applied the exposure is removed by turning off public comment acceptance on the CodeColorer-enabled site; the vendor's change constitutes the complete fix, so no partial plugin-level workaround is documented. The advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/b5dccb15-5853-4389-9402-8c86e85476a3?source=cve should be checked for any later version guidance.
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 mature WordPress plugin that wraps the GeSHi syntax highlighter and hooks into content rendering, including the comment_text filter, to transform code blocks. The root cause is CWE-79: in 0.12.0 and earlier, the comment_text filter was wired to callBeforeHighlightCodeBlock at priority -1000 (codecolorer.php lines 114 and 120), which processed code blocks but left the remaining comment HTML unfiltered, so insufficient sanitization on input and missing escaping on output allowed markup injected through the 'comment' parameter to reach the rendered page. The upstream fix in pull request 85 replaces that hook with callBeforeHighlightComment, which passes the rest of the comment through wp_kses with the pre_comment_content allowlist (or wp_kses_post when the comment author has the unfiltered_html capability), preserves code-block placeholders, adds rel="nofollow ugc" to links, and prunes span classes to WordPress note-mention classes; these paths are new in codecolorer-core.php around lines 86-160, with the affected legacy code visible at codecolorer-core.php lines 57, 100, 119 and 209 in the 0.12.0 tag. The trigger for the stored injection is described in the advisory and patch: unescaped comment markup rendered outside code blocks. Scope is marked changed (S:C) in the assessed vector, reflecting that the injected script runs in the context of the WordPress site rather than the plugin component itself.
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:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Unauthenticated comment submission gives PR:N; the mandatory prior-approved-comment precondition justifies AC:H; stored XSS executing in another user's browser is S:C with C:L/I:L and no availability impact.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The CodeColorer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 0.12.0 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. Successful exploitation requires that the attacker has already had one prior comment approved from the same name and email pair, as WordPress's comment_previously_approved check auto-approves subsequent comments from recognized commenters.
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 (XSS) in CodeColorer plugin for WordPress versions up to 0.10.1 allows unauthenticated attac
EUVD-2026-136252
NVD
CVE.org
EPSS
GitHub
Exploit-DB