CVE-2026-19704 Comments – wpDiscuz < 7.6.66 - Unauthenticated Comment Disclosure via SQLi

Medium 5.3 Published Updated

Unauthenticated attackers can inject SQL to read hidden comments, including those awaiting moderation or on private posts, in the wpDiscuz plugin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-19704?

CVE-2026-19704 is a medium-severity SQL injection vulnerability in Unknown Comments, published on 2 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-89

Which versions are affected by CVE-2026-19704?

How do I fix CVE-2026-19704?

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

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-19704 being exploited?

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

Sources

Also known as GHSA-mjfm-w43c-xv7h.

Is CVE-2026-19704 in your software?

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

Check your SBOMs for free