CVE-2026-7048
Time-Based Blind SQL Injection in Photo Gallery by 10Web WordPress Plugin
Publication date: 2026-05-28
Last updated on: 2026-05-28
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| 10web | photo_gallery | to 1.8.40 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
The Photo Gallery by 10Web β Mobile-Friendly Image Gallery plugin for WordPress has a time-based blind SQL Injection vulnerability in the 'order_by' parameter in all versions up to and including 1.8.40.
This vulnerability exists because the plugin does not properly escape user-supplied input and does not sufficiently prepare the SQL query, allowing attackers to append additional SQL commands.
Authenticated users with contributor-level access or higher can exploit this by embedding a malicious shortcode in a post or draft, which executes the injected SQL when rendered.
How can this vulnerability impact me? :
This vulnerability allows attackers with contributor-level access or above to extract sensitive information from the database by injecting SQL queries.
Because the attack is time-based blind SQL Injection, attackers can infer data even without direct output, potentially compromising confidential data stored in the database.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
The vulnerability allows authenticated attackers with contributor-level access to perform time-based blind SQL Injection, potentially extracting sensitive information from the database.
This exposure of sensitive data could lead to non-compliance with data protection regulations such as GDPR and HIPAA, which require safeguarding personal and sensitive information against unauthorized access.
Therefore, exploitation of this vulnerability may result in violations of these standards due to the risk of data leakage.