CVE-2026-19704

Comments – wpDiscuz < 7.6.66 - Unauthenticated Comment Disclosure via SQLi

Published Sep 2, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions wpdiscuz
Vendors & Products Wordpress-extensions
Wordpress-extensions wpdiscuz
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'}

Type Values Removed Values Added
Weaknesses CWE-89
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
Weaknesses
  • CWE-89

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

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Sep 2, 2026, 10:45 AM
Reserved
Aug 13, 2026, 8:41 AM
Status
Deferred
Published
Sep 2, 2026, 6:17 AM
Modified
Sep 3, 2026, 5:50 PM