CVE-2026-2024
PhotoStack Gallery <= 0.4.1 - Unauthenticated SQL Injection via 'postid' Parameter
- State
- Published
- Severity
- 7.5 High
- Published
- Feb 14, 2026
- Updated
- Apr 8, 2026
- Reserved
- Feb 5, 2026
Description
The PhotoStack Gallery plugin for WordPress is vulnerable to SQL Injection via the 'postid' parameter in all versions up to, and including, 0.4.1 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | Wordfence |
Weaknesses
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected Products
| Product | Versions |
|---|---|
PhotoStack Gallerysavitasoni |
|
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/9232b77e-e23f-4e91-8ea3-5e740956f51e?source=cve
- https://plugins.trac.wordpress.org/browser/photostack-gallery/trunk/photo_gallery.php#L142
- https://plugins.trac.wordpress.org/browser/photostack-gallery/trunk/photo_gallery.php#L108
- https://plugins.trac.wordpress.org/browser/photostack-gallery/trunk/photo_gallery.php#L113
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.