{"id":"CVE-2021-24457","aliases":["CVE-2021-24457"],"related":[],"kind":"vulnerability","state":"published","title":"Portfolio Responsive Gallery < 1.1.8 - Authenticated Blind SQL Injections","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"es","text":"Las funciones get_portfolios() y get_portfolio_attributes() de los archivos class-portfolio-responsive-gallery-list-table.php y class-portfolio-responsive-gallery-attributes-list-table.php del plugin Portfolio Responsive Gallery de WordPress versiones anteriores a 1.1.8, no usaban la lista blanca ni comprobaban el parámetro orderby antes de usarlo en las sentencias SQL pasadas a las llamadas a la base de datos get_results(), conllevando a problemas de inyección SQL en el panel de administración","source":"nvd"}],"published":"2021-08-02T10:32:03.000Z","modified":"2026-06-17T03:40:03.833Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"custom","introduced":"1.1.8","fixed":"1.1.8","status":"affected"}],"vendor":"Ays Pro","product":"Portfolio Responsive Gallery","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.1.8"}],"vendor":"ays-pro","product":"portfolio_responsive_gallery","cpe":"cpe:2.3:a:ays-pro:portfolio_responsive_gallery:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/97f4f7da-22a8-42a6-88ac-82e95a6c06dd","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["To Quang Duong"],"assigner":"WPScan","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-24457","url":"https://www.cve.org/CVERecord?id=CVE-2021-24457","licence":"CVE Terms of Use","modified":"2024-08-03T19:35:18.676Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-24457","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24457","licence":"Public domain","modified":"2026-06-17T03:40:03.833Z"}],"updatedAt":"2026-11-25T22:58:02.910Z","epss":{"score":0.014,"percentile":0.73289,"date":"2026-12-01T12:00:22.000Z"}}