CVE-2026-135651

CodeColorer <= 0.12.0 - Unauthenticated Stored Cross-Site Scripting via Comment Content

Published Nov 26, 2026 CVSS 3.1 · 5.4 Medium EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is a stored cross‑site scripting (XSS) flaw that allows attackers to inject malicious JavaScript into the comment field of the CodeColorer plugin. By submitting a comment containing crafted script tags, an unauthenticated user can persist code that will run in the browsers of anyone who visits the affected page. This can lead to session hijacking, defacement, or the execution of arbitrary actions within the website context.

Affected Systems

All releases of the CodeColorer WordPress plugin up to and including version 0.12.0 are affected. The issue exists in the comment handling code of the plugin, which is part of the CodeColorer plugin bundle for WordPress. The plugin is used on sites that allow registered users or visitors to post comments. No other versions or independent products are referenced in the data.

Risk and Exploitability

The CVSS score of 5.4 indicates a moderate severity. The exploit requires that an attacker first submits a comment that is approved by WordPress’ auto‑approve mechanic, after which subsequent comments from the same name and email pair are automatically approved, allowing the injected script to persist. No EPSS score is available, and the vulnerability is not listed in KEV. Because the flaw is exploitable by unauthenticated users with basic comment privileges, administrators should treat it as a medium risk that warrants timely patching.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check the plugin’s official repository or vendor website for available updates or security advisories.
  • Upgrade the plugin to a version newer than 0.12.0.
  • Disable automatic comment approval so that all comments must be manually approved before being stored.
  • Sanitize or escape output generated from comment content to eliminate unsanitized script tags.

Generated by OpenCVE AI on November 26, 2026 at 12:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title CodeColorer <= 0.12.0 - Unauthenticated Stored Cross-Site Scripting via Comment Content
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N'}

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Nov 26, 2026, 11:32 AM
Reserved
Nov 23, 2026, 10:02 PM
Status
Deferred
Published
Nov 26, 2026, 12:17 PM
Modified
Nov 26, 2026, 12:17 PM