What the vulnerability does
01Description
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.
Explanation of Vulnerability in Simple Terms
02Summary
CodeColorer versions 0.10.1 and earlier contain a cross-site scripting (XSS) vulnerability. An attacker can inject malicious scripts that execute in a victim's browser when they view affected content. The vulnerability requires user interaction and can affect other users or the site itself depending on context.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that run in visitors' browsers when they view affected pages.
Potential impact on your site
04Site Impact
Visitors' browsers can be compromised; session tokens or site data may be stolen; site reputation damaged.
Conditions required to exploit
05Prerequisites
Victim must visit a page containing the attacker's malicious input; no authentication required.
Key dates
06Disclosure timeline
April 16, 2026
CVE published
April 16, 2026
Record updated