CVE-2026-9829 MEDIUM

CVE-2026-9829: Photo Gallery by 10Web <= 1.8.41 - Authenticated (Contributor+) SQL Injection via 'compact_album_order_by' Shortcode Parameter

Vendor 10Web
Product Photo Gallery by 10Web – Mobile-Friendly Image Gallery
Weakness CWE-89 · SQLi
Published June 6, 2026
Last update June 6, 2026

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

Photo Gallery by 10Web versions up to 1.8.41 contain a SQL injection vulnerability in database queries. An authenticated user with low privileges can craft malicious input to read sensitive data from the site's database, including user information and configuration details. The vulnerability requires valid site access but no additional user interaction.

What an attacker can do

03Attacker Capabilities

Read sensitive data from the site database, including user records and configuration.

Potential impact on your site

04Site Impact

User data and site configuration may be exposed to anyone with a basic site account.

Conditions required to exploit

05Prerequisites

Attacker must have a low-privilege authenticated account on the site.

Key dates

06Disclosure timeline

June 6, 2026 CVE published
June 6, 2026 Record updated

Related vulnerabilities

08Related CVE