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

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.40%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-08-02T10:32:03.000Z
- Modified: 2026-06-17T03:40:03.833Z
- Weaknesses: CWE-89
- Assigned by: WPScan

## 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

(As written by CVE List.)

## Affected

- Ays Pro Portfolio Responsive Gallery: from 1.1.8 before 1.1.8
- ays-pro portfolio_responsive_gallery: before 1.1.8

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://wpscan.com/vulnerability/97f4f7da-22a8-42a6-88ac-82e95a6c06dd> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2021-24457](https://www.cve.org/CVERecord?id=CVE-2021-24457), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-24457](https://nvd.nist.gov/vuln/detail/CVE-2021-24457), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-24457 · Whole record: https://cve.day/CVE-2021-24457.json · Rebuilt by cve.day 2026-11-25T22:58:02.910Z
