CVE-2026-135651
published medium CVSS 3.1 · 5.4CodeColorer <= 0.12.0 - Unauthenticated Stored Cross-Site Scripting via Comment Content
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| kpumuk | — | CodeColorer0 through 0.12.0 · Other versions: unaffected | Affected | Not stated | Wordfence |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| kpumuk | CodeColorer | 0 through 0.12.0 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation
References
9- https://github.com/kpumuk/codecolorer/pull/85
- https://plugins.trac.wordpress.org/browser/codecolorer/tags/0.12.0/codecolorer-core.php#L100
- 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#L209
- 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.php#L114
- https://plugins.trac.wordpress.org/browser/codecolorer/tags/0.12.0/codecolorer.php#L120
- https://plugins.trac.wordpress.org/changeset/3819465/codecolorer/trunk/codecolorer-core.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/b5dccb15-5853-4389-9402-8c86e85476a3?source=cve
Provider assertions
2Wordfence · cna
CodeColorer <= 0.12.0 - Unauthenticated Stored Cross-Site Scripting via Comment Content
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 34a01ef913cce7d66471c8e5063ce5f134f01313dc441746a15df34fbde8fe84
- Ingested
- 27 Nov 2026, 16:42:13 UTC
- Source record
- Official CVE record