CVE-2026-2281

Private Comment <= 0.0.4 - Authenticated (Administrator+) Stored Cross-Site Scripting via Label Text Setting

Published Feb 18, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
The Private Comment plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Label text' setting in all versions up to, and including, 0.0.4. This is due to insufficient input sanitization and output escaping on the plugin's label text option. This makes it possible for authenticated attackers, with Administrator-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

Analysis

AI-generated

Technical impact

The Private Comment plugin for WordPress stores the 'Label text' value without sanitizing or escaping user input, allowing an authenticated user with Administrator-level privileges to inject arbitrary JavaScript. When a user opens a page that displays the stored label, the script runs in that user’s browser context. The flaw does not modify server data or files and is limited to affecting client side rendering on the site.

Affected Systems

WordPress multi‑site installations running the Private Comment plugin at version 0.0.4 or earlier, where the unfiltered_html capability is disabled for administrators. The plugin is authored by edersonpeka.

Risk and Exploitability

The CVSS base score of 4.4 indicates moderate severity. The EPSS score of less than 1 % suggests a very low exploitation probability in the field, and the vulnerability is not present in the CISA KEV catalog. Attack requires Administrator access and a specific multi‑site configuration, limiting the pool of potential attackers; however, any compromised administrator can embed scripts that affect all site users.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Private Comment to a version newer than 0.0.4.
  • Temporarily disable the 'Label text' setting on all multisite sites until the patch is available.
  • Deploy a restrictive Content Security Policy to mitigate accidental script execution.

Generated by OpenCVE AI on April 16, 2026 at 00:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Edersonpeka
Edersonpeka private Comment
Wordpress
Wordpress wordpress
Vendors & Products Edersonpeka
Edersonpeka private Comment
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Description The Private Comment plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Label text' setting in all versions up to, and including, 0.0.4. This is due to insufficient input sanitization and output escaping on the plugin's label text option. This makes it possible for authenticated attackers, with Administrator-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
Title Private Comment <= 0.0.4 - Authenticated (Administrator+) Stored Cross-Site Scripting via Label Text Setting
Weaknesses CWE-79
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:09 PM
Reserved
Feb 10, 2026, 2:19 PM
Status
Deferred
Published
Feb 18, 2026, 7:16 AM
Modified
Jun 17, 2026, 10:30 AM