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.
Published: 2026-02-18
Score: 4.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting (XSS)
Action: Patch
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Wed, 18 Feb 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 18 Feb 2026 11:00:00 +0000

Type Values Removed Values Added
First Time appeared Edersonpeka
Edersonpeka private Comment
Wordpress
Wordpress wordpress
Vendors & Products Edersonpeka
Edersonpeka private Comment
Wordpress
Wordpress wordpress

Wed, 18 Feb 2026 07:15:00 +0000

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'}


Subscriptions

Edersonpeka Private Comment
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:09:56.343Z

Reserved: 2026-02-10T14:19:38.657Z

Link: CVE-2026-2281

cve-icon Vulnrichment

Updated: 2026-02-18T14:20:30.550Z

cve-icon NVD

Status : Deferred

Published: 2026-02-18T07:16:10.450

Modified: 2026-04-15T00:35:42.020

Link: CVE-2026-2281

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-16T00:45:15Z

Weaknesses