CVE-2026-19704

Medium

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductComments
PublishedSep 2, 2026
First seenSep 2, 2026
Weakness typeCWE-89SQL injection

How to fix

Update
  • Comments7.6.66 or later

Affected products

ProductAffected versionsFixed in
Commentsv < 7.6.667.6.66

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.