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

Published Updated

Unauthenticated attackers can store scripts via comments on WordPress sites using CodeColorer, executing in visitors' browsers.

CVSS score

Medium

5.4/10

CVSS 3.1 · Scored by Wordfence Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Over the internet
No login, no user action

What is CVE-2026-135651?

CVE-2026-135651 is a medium-severity cross-site scripting vulnerability in kpumuk CodeColorer, published on 26 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-79

How severe is CVE-2026-135651?

CVE-2026-135651 scores 5.4 out of 10 under CVSS 3.1, which is medium severity. It was scored by Wordfence.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N

Which versions are affected by CVE-2026-135651?

An affected version is exposed as installed. No special setting or call is needed.

How do I fix CVE-2026-135651?

No fix has been published for CVE-2026-135651 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-135651 being exploited?

There is no known exploitation of CVE-2026-135651 in the wild and no public exploit code.

Sources

Also known as GHSA-7gh8-w2m8-46v9.

Is CVE-2026-135651 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free