PhotoStack Gallery <= 0.4.1 - Unauthenticated SQL Injection via 'postid' Parameter
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| savitasoni | PhotoStack Gallery | up to 0.4.1 | — | No fix listed | CNA |
- PhotoStack Gallery Vendorsavitasoni Affected up to 0.4.1 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-2024
- 2026-10-03 Alias added: GHSA-xhwg-m969-356h
- 2026-10-12 Priority changed: LOW → MEDIUM
References
Other 4
- 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
Sources
- CVE-2026-2024 · CVE Program
- CVE-2026-2024 · NVD
- FIRST EPSS
- GHSA-xhwg-m969-356h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences