CVE-2021-24551
WordPress vulnerability analysis and mitigation

Overview

The Edit Comments WordPress plugin through version 0.3 contains an unauthenticated SQL injection vulnerability (CVE-2021-24551). The vulnerability was discovered by Shreya Pohekar of Codevigilant and publicly disclosed on July 24, 2021. The plugin fails to properly sanitize, validate, or escape the 'jal_edit_comments' GET parameter before using it in SQL statements (CodeVigilant Disclosure, WPScan).

Technical details

The vulnerability exists in the edit comment functionality, specifically in the jal-edit-comments.php file at line 52, where the 'jal_edit_comments' GET parameter is directly inserted into an SQL query without proper sanitization. The vulnerability has been assigned a CVSS v3.1 Base Score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The issue is classified as CWE-89 (SQL Injection) (NVD, WPScan).

Impact

This vulnerability allows unauthenticated attackers to execute arbitrary SQL commands on the affected WordPress installation's database. Due to its unauthenticated nature and the critical CVSS score, the potential impact includes unauthorized access to sensitive data, modification of database contents, and possible complete system compromise (NVD).

Mitigation and workarounds

There is no known fix available for this vulnerability as the plugin has been closed. The recommended mitigation is to remove the Edit Comments plugin from WordPress installations (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-0726HIGH8.1
  • nexter-extension
NoYesJan 20, 2026
CVE-2026-0690MEDIUM6.4
  • flatpm-wp
NoYesJan 20, 2026
CVE-2026-0608MEDIUM6.4
  • head-meta-data
NoYesJan 20, 2026
CVE-2026-0548MEDIUM5.4
  • tutor
NoYesJan 20, 2026
CVE-2026-0554MEDIUM4.3
  • notificationx
NoYesJan 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management