CVE-2021-24492
WordPress vulnerability analysis and mitigation

Overview

CVE-2021-24492 is a SQL Injection vulnerability discovered in the Handsome Testimonials & Reviews WordPress plugin versions below 2.1.1. The vulnerability was identified by Shreya Pohekar of Codevigilant Project and was publicly disclosed on June 29, 2021. The issue affects the plugin's AJAX functionality and is exploitable by any authenticated user with subscriber-level access or higher (CodeVigilant, WPScan).

Technical details

The vulnerability exists in the hndtstactioninstancecallback AJAX call of the plugin, where the hndtstpreviewShortcodeInstanceId POST parameter is not properly sanitized, validated, or escaped before being used in SQL statements. The vulnerability has been assigned a CVSS score of 9.9 (Critical) and is classified as CWE-89 (SQL Injection). The issue is present in the file tstshortcodegenerator.php at line 451, where the unsanitized input is directly used in a database query (CodeVigilant, WPScan).

Impact

This vulnerability allows authenticated users with subscriber-level access or higher to perform SQL injection attacks against the affected WordPress installations. Successful exploitation could lead to unauthorized access to the database, potentially exposing sensitive information or allowing manipulation of database contents (WPScan).

Mitigation and workarounds

The vulnerability has been fixed in version 2.1.1 of the Handsome Testimonials & Reviews plugin. Site administrators are strongly advised to update to this version or later to protect against potential SQL injection attacks (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-2025-13126HIGH7.5
  • wpforo
NoYesDec 14, 2025
CVE-2025-12537MEDIUM6.4
  • addon-elements-for-elementor-page-builder
NoYesDec 14, 2025
CVE-2025-9873MEDIUM6.4
  • a3-lazy-load
NoYesDec 13, 2025
CVE-2025-9856MEDIUM6.4
  • popup-builder
NoYesDec 13, 2025
CVE-2025-12696N/AN/A
  • hls-crm-form-shortcode
NoNoDec 14, 2025

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