Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-135651: medium-severity vulnerability (CVSS 5.4) in kpumuk CodeColorer.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 5.4.
Affected products and versions
kpumuk CodeColorer <= 0.12.0
| Product | Versions | Fixed in |
|---|---|---|
| kpumuk CodeColorer | <= 0.12.0 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/b5dccb15-5853-4389-9402-8c86e85476a3?source=cve — CVE Program
- https://plugins.trac.wordpress.org/browser/codecolorer/tags/0.12.0/codecolorer.php#L114 — CVE Program
- https://plugins.trac.wordpress.org/browser/codecolorer/tags/0.12.0/codecolorer.php#L120 — CVE Program
- https://plugins.trac.wordpress.org/browser/codecolorer/tags/0.12.0/codecolorer-core.php#L57 — CVE Program
- https://plugins.trac.wordpress.org/browser/codecolorer/tags/0.12.0/codecolorer-core.php#L209 — CVE Program
- https://plugins.trac.wordpress.org/browser/codecolorer/tags/0.12.0/codecolorer-core.php#L119 — CVE Program
- https://plugins.trac.wordpress.org/browser/codecolorer/tags/0.12.0/codecolorer-core.php#L100 — CVE Program
- https://github.com/kpumuk/codecolorer/pull/85 — CVE Program
- https://plugins.trac.wordpress.org/changeset/3819465/codecolorer/trunk/codecolorer-core.php — CVE Program
Weaknesses (CWE): CWE-79
Relevant change history
Published
Preliminary advisory published.