Description
The Comments WordPress plugin before 7.6.66 does not validate a value used to build a database query, allowing unauthenticated users to inject SQL and read comments they are not entitled to see, including comments awaiting moderation, comments marked as spam or trashed, and comments on private and draft posts.

The injected text reaches the query as grammar rather than as data and does not yield extraction of arbitrary data, so the confidentiality impact is the disclosed comment content rather than the database at large.
Published: 2026-09-02
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Unauthenticated comment disclosure via SQL injection
Action: Apply Patch
AI Analysis

Impact

The Comments WordPress plugin before version 7.6.66 does not validate a parameter used to build a database query, allowing an attacker to inject arbitrary SQL. The injected text is treated as SQL grammar rather than data, so it cannot extract arbitrary database contents, but it can expose comments that the attacker is not entitled to see, including those awaiting moderation, marked spam, trashed, or posted to private or draft entries. The resulting confidentiality impact is limited to the content of those comments.

Affected Systems

The vulnerability affects the Comments WordPress plugin (generic name "Comments", vendor unknown) on all installations running a version earlier than 7.6.66.

Risk and Exploitability

The attacker can read private or pending comments via an unauthenticated request, but cannot modify data or obtain arbitrary database content. The vulnerability, with a CVSS score of 5.3, poses a moderate information disclosure risk and is exploitable by any web user. Since the vulnerability is not yet cataloged by CISA, expected exploitation rates are uncertain, but the ease of attack warrants prompt attention.

Generated by OpenCVE AI on September 2, 2026 at 13:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the wpDiscuz plugin to version 7.6.66 or newer.
  • If an update is delayed, modify comment display settings to hide pending, spam, trashed, private, and draft comments from public view, effectively reducing the exposure portal.
  • Check all backups and staging environments to ensure no older versions of the plugin remain accessible, and verify that server files are not exposed to direct download.

Generated by OpenCVE AI on September 2, 2026 at 13:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 02 Sep 2026 11:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

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


Wed, 02 Sep 2026 08:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-89

Wed, 02 Sep 2026 06:15:00 +0000

Type Values Removed Values Added
Description The Comments WordPress plugin before 7.6.66 does not validate a value used to build a database query, allowing unauthenticated users to inject SQL and read comments they are not entitled to see, including comments awaiting moderation, comments marked as spam or trashed, and comments on private and draft posts. The injected text reaches the query as grammar rather than as data and does not yield extraction of arbitrary data, so the confidentiality impact is the disclosed comment content rather than the database at large.
Title Comments – wpDiscuz < 7.6.66 - Unauthenticated Comment Disclosure via SQLi
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-09-02T10:45:58.294Z

Reserved: 2026-08-13T08:41:49.870Z

Link: CVE-2026-19704

cve-icon Vulnrichment

Updated: 2026-09-02T10:13:04.362Z

cve-icon NVD

Status : Deferred

Published: 2026-09-02T06:17:16.937

Modified: 2026-09-03T17:50:37.690

Link: CVE-2026-19704

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-02T13:30:05Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')