CVE-2026-2024: PhotoStack Gallery (WordPress plugin) · SQL Injection
Affects PhotoStack Gallery (WordPress plugin)Source CVE Database V5
Not known to be exploited · CVSS 7.5 High.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 14 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| savitasoniPhotoStack Gallery | Affected
| Fixed in– |
AI-suggested
Until an official fix is available, users should consider disabling the PhotoStack Gallery plugin or restricting access to the vulnerable functionality. Applying web application firewall (WAF) rules to detect and block SQL injection attempts targeting the 'postid' parameter may provide temporary mitigation.
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.
References
- wordfence.com/threat-intel/vulnerabilities/id/9232b77e-e23f-4e91-8ea3-5e740956f51e?source=cve (opens in a new tab)
- plugins.trac.wordpress.org/browser/photostack-gallery/trunk/photo_gallery.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/photostack-gallery/trunk/photo_gallery.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/photostack-gallery/trunk/photo_gallery.php (opens in a new tab)