CodeColorer <= 0.12.0 - Unauthenticated Stored Cross-Site Scripting via Comment Content
- State
- Published
- Severity
- 5.4 Medium
- Published
- Nov 26, 2026
- Updated
- Nov 27, 2026
- Reserved
- Nov 23, 2026
Description
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.
| Product | Versions |
|---|---|
| CodeColorer kpumuk | 0.12.0 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 5.4 Medium | Wordfence |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/b5dccb15-5853-4389-9402-8c86e85476a3?source=cve
- https://plugins.trac.wordpress.org/browser/codecolorer/tags/0.12.0/codecolorer.php#L114
- https://plugins.trac.wordpress.org/browser/codecolorer/tags/0.12.0/codecolorer.php#L120
- https://plugins.trac.wordpress.org/browser/codecolorer/tags/0.12.0/codecolorer-core.php#L57
- https://plugins.trac.wordpress.org/browser/codecolorer/tags/0.12.0/codecolorer-core.php#L209
- https://plugins.trac.wordpress.org/browser/codecolorer/tags/0.12.0/codecolorer-core.php#L119
- https://plugins.trac.wordpress.org/browser/codecolorer/tags/0.12.0/codecolorer-core.php#L100
- https://github.com/kpumuk/codecolorer/pull/85
- https://plugins.trac.wordpress.org/changeset/3819465/codecolorer/trunk/codecolorer-core.php
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.