PhotoStack Gallery WordPress Plugin SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability has been identified in the PhotoStack Gallery plugin for WordPress, affecting all versions through 0.4.1. The vulnerability arises from inadequate escaping of user-supplied data in the 'postid' parameter, allowing unauthenticated attackers to inject additional SQL queries. This exploitation could lead to unauthorized access to sensitive information within the database.

Impact

Exploitation of this vulnerability allows for SQL injection, where attackers can manipulate database queries to extract or potentially modify sensitive information.

Reproduction

To reproduce this vulnerability, send a request to the WordPress site with the 'postid' parameter. The injected SQL code can be appended to the original SQL query used by the plugin, which retrieves images from the WordPress database. This can be done by exploiting the SQL injection point to extract data from other database tables, such as user information or plugin settings.

Remediation

There is no known patch available for this vulnerability. Users are advised to review the vulnerability details and consider uninstalling the affected plugin.

Added: Feb 14, 2026, 7:18 AM
Updated: Feb 14, 2026, 7:18 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
8.4
remediation
0.0
relevance
2.9
threat
4.8
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.