# CVE-2024-9018: WP Easy Gallery <= 4.8.5 - Authenticated (Contributor+) SQL Injection via key Parameter

- Severity: High 8.8 (CVSS:3.1, scored by Wordfence) `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): 0.50%, higher than 44% of CVEs (2026-12-02)
- Published: 2024-10-01T08:30:16.968Z
- Modified: 2026-06-17T08:23:47.563Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Wordfence

## Description

The WP Easy Gallery – WordPress Gallery Plugin plugin for WordPress is vulnerable to time-based SQL Injection via the ‘key’ parameter in all versions up to, and including, 4.8.5 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query.  This makes it possible for authenticated attackers, with Contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

(As written by CVE List.)

## Affected

- hahncgdev WP Easy Gallery – WordPress Gallery Plugin: up to 4.8.5
- hahncgdev wp_easy_gallery_wordpress_gallery_plugin: up to 4.8.5
- plugingarden wp_easy_gallery: up to 4.8.5

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/a1c4c632-66f2-4987-b7da-048dbe4a3044?source=cve> (third-party-advisory)
- <https://wordpress.org/plugins/wp-easy-gallery/#developers> (product)
- <https://plugins.trac.wordpress.org/browser/wp-easy-gallery/trunk/wp-easy-gallery.php#L866> (product)

## Sources

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

---

Page: https://cve.day/CVE-2024-9018 · Whole record: https://cve.day/CVE-2024-9018.json · Rebuilt by cve.day 2026-11-25T22:58:45.921Z
