CVE-2026-9829

Published: Giu 06, 2026 Last Modified: Giu 06, 2026
ExploitDB:
Other exploit source:
Google Dorks:
MEDIUM 6,5
Attack Vector: network
Attack Complexity: low
Privileges Required: low
User Interaction: none
Scope: unchanged
Confidentiality: high
Integrity: none
Availability: none

Description

AI Translation Available

The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to time-based SQL Injection via 'compact_album_order_by' Shortcode Parameter in all versions up to, and including, 1.8.41 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. The malicious payload is stored via the 'shortcode_bwg' AJAX handler — accessible to Contributor-level users and exploitable without a valid nonce by omitting the 'page' parameter — and is subsequently triggered by the unauthenticated 'bwg_frontend_data' AJAX handler, meaning successful exploitation requires only that an attacker has Contributor-level access to save the shortcode.

89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Stable
Common Consequences
Security Scopes Affected:
Confidentiality Integrity Availability Authentication Access Control
Potential Impacts:
Execute Unauthorized Code Or Commands Read Application Data Gain Privileges Or Assume Identity Bypass Protection Mechanism Modify Application Data
Applicable Platforms
Languages: Not Language-Specific, SQL
Technologies: Database Server
View CWE Details
https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/admin/cont…
https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/framework/…
https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/frontend/m…
https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/frontend/m…
https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.40/photo-gall…
https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/admin/cont…
https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/framework/…
https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/frontend/m…
https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/frontend/m…
https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.41/photo-gall…
https://plugins.trac.wordpress.org/changeset/3553847
https://www.wordfence.com/threat-intel/vulnerabilities/id/cae7dabd-ce43-43e3-9f…