CVE-2026-7048
Received Received - Intake
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
The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to time-based blind SQL Injection via the 'order_by' parameter in all versions up to, and including, 1.8.40 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. This is exploitable by embedding a malicious shortcode in a post or draft, allowing the injected SQL to execute when the shortcode is rendered.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-28
Last Modified
2026-05-28
Generated
2026-05-28
AI Q&A
2026-05-28
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
10web photo_gallery to 1.8.40 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart