CVE-2021-24457
WordPress vulnerability analysis and mitigation

Overview

The Portfolio Responsive Gallery WordPress plugin versions prior to 1.1.8 contained an authenticated SQL injection vulnerability (CVE-2021-24457). The vulnerability was discovered and publicly disclosed on June 29, 2021, affecting the plugin's admin dashboard functionality (WPScan).

Technical details

The vulnerability exists in the get_portfolios() and get_portfolio_attributes() functions within the class-portfolio-responsive-gallery-list-table.php and class-portfolio-responsive-gallery-attributes-list-table.php files. The issue stems from insufficient validation of the orderby parameter before its use in SQL statements passed to the get_results() DB calls. The vulnerability has been assigned a CVSS score of 7.6 (High) and is classified as a SQL Injection (CWE-89) vulnerability (WPScan).

Impact

When exploited, this vulnerability could allow authenticated attackers to perform SQL injection attacks against the WordPress database, potentially leading to unauthorized access to sensitive data or manipulation of database contents (WPScan).

Mitigation and workarounds

The vulnerability has been patched in version 1.1.8 of the Portfolio Responsive Gallery plugin. Users are advised to update to this version or later to protect against potential exploitation (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-14977HIGH8.1
  • dokan-lite
NoYesJan 20, 2026
CVE-2025-14348MEDIUM5.3
  • wemail
NoYesJan 20, 2026
CVE-2026-1045MEDIUM4.4
  • viet-contact
NoNoJan 20, 2026
CVE-2026-1042MEDIUM4.4
  • wp-hello-bar
NoNoJan 20, 2026
CVE-2025-12573N/AN/A
  • bookingor
NoNoJan 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