CVE-2026-9829
Time-Based SQL Injection in Photo Gallery by 10Web WordPress Plugin
Publication date: 2026-06-06
Last updated on: 2026-06-06
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.41 (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 plugin for WordPress has a time-based SQL Injection vulnerability in the 'compact_album_order_by' shortcode parameter. This occurs because the plugin does not properly escape user input and does not sufficiently prepare the SQL query. As a result, authenticated users with contributor-level access or higher can inject additional SQL queries into existing ones.
The malicious payload is stored via the 'shortcode_bwg' AJAX handler, which can be exploited by contributor-level users without requiring a valid nonce by omitting the 'page' parameter. The injected SQL is then triggered by the unauthenticated 'bwg_frontend_data' AJAX handler, meaning an attacker only needs contributor-level access to save the malicious shortcode to exploit this vulnerability.
How can this vulnerability impact me? :
This vulnerability allows an attacker with contributor-level access to extract sensitive information from the database by injecting additional SQL queries. Since the attack is time-based SQL Injection, it can be used to retrieve confidential data that should otherwise be protected.
The impact is significant because it compromises the confidentiality of data stored in the WordPress database without affecting integrity or availability directly.
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 SQL Injection, potentially extracting sensitive information from the database.
Such unauthorized access and extraction of sensitive data could lead to violations of data protection regulations like GDPR and HIPAA, which require safeguarding personal and sensitive information against unauthorized access.