Vulnerability Report
Plugin Medium Patch path listed CVE-2026-9829

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

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.

Quick Answer

CVE-2026-9829 is a medium severity with CVSS 6.5 SQL Injection issue affecting the Plugin Photo Gallery by 10Web – Mobile-Friendly Image Gallery. It affects Versions up to 1.8.41 and is fixed in 1.8.42.

Published
Jun 05, 2026
Last Updated
Jun 05, 2026
Slug
photo-gallery
Continue Triage

Review the full Photo Gallery by 10Web – Mobile-Friendly Image Gallery vulnerability cluster

Use the related hub and response guides to connect this CVE-2026-9829 report with patch validation, scanner checks, and site hardening work.

Operational Summary

What the operator needs to know

Patch Status
Patched release is available
Remediation
Update to version 1.8.42, or a newer patched version
Operator Briefing

CVE-2026-9829 is tracked for the Plugin Photo Gallery by 10Web – Mobile-Friendly Image Gallery as medium severity with CVSS 6.5. The affected range is Versions up to 1.8.41. Update Photo Gallery by 10Web – Mobile-Friendly Image Gallery to 1.8.42 or newer where that version is compatible with the site.

Issue Type
SQL Injection
Primary Fixed Version
1.8.42
Primary Affected Range
Versions up to 1.8.41
Tracking ID
CVE-2026-9829
Indexing Quality Signals

Why this report is useful for search and triage

Search engines and operators need more than a title. This page exposes the identifier, affected range, patch evidence, and source coverage that make the vulnerability actionable.

Meta Robots
Index, follow
Identifier strength
CVE-2026-9829

This report has a CVE identifier, which makes it suitable for focused search and vulnerability triage workflows.

Version evidence
Versions up to 1.8.41

Affected version data gives operators a concrete comparison point against installed WordPress software.

Patch evidence
1.8.42

A fixed version is present, so the page can answer update and remediation intent directly.

Source coverage
1 reference

External references are available for source validation, advisory review, and incident notes.

Verification Checklist

How to validate this finding

Use these checks when converting this record into a patch ticket, incident note, or risk acceptance decision.

Step 1

Inventory the installed Plugin package and compare its version with Versions up to 1.8.41.

Step 2

Confirm Photo Gallery by 10Web – Mobile-Friendly Image Gallery is updated to 1.8.42 or newer.

Step 3

Review references and CVSS vector details for exploitability, authentication requirements, and exposure path.

Step 4

After patching, re-run vulnerability monitoring and keep the related plugin or theme hub under review for follow-up CVEs.

Detailed Metadata
Software Type Plugin
Software Slug
photo-gallery View on wordpress.org
CVE CVE-2026-9829
Patched Versions
1.8.42
Affected Versions
Versions up to 1.8.41
Related CVE Cluster

Related CVEs for Photo Gallery by 10Web – Mobile-Friendly Image Gallery

These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.

Critical CVE-2022-0169 1.6.0 Feb 15, 2022
CVE-2022-0169 Photo Gallery by 10Web – Mobile-Friendly Image Gallery SQL Injection

Photo Gallery by 10Web <= 1.5.87 - Unauthenticated SQL Injection via bwg_tag_id_bwg_thumbnails_0 Parameter

Critical CVE-2021-24139 1.5.55 May 15, 2020
CVE-2021-24139 Photo Gallery by 10Web – Mobile-Friendly Image Gallery SQL Injection

Photo Gallery by 10Web <= 1.5.54 - SQL Injection via bwg_search_x Parameter

Critical CVE-2019-16119 1.5.35 Sep 08, 2019
CVE-2019-16119 Photo Gallery by 10Web – Mobile-Friendly Image Gallery SQL Injection

Photo Gallery by 10Web <= 1.5.34 - SQL Injection

Critical CVE-2019-14313 1.5.31 Jul 26, 2019
CVE-2019-14313 Photo Gallery by 10Web – Mobile-Friendly Image Gallery SQL Injection

Photo Gallery by 10Web <= 1.5.30 - SQL Injection

Critical CVE-2015-1055 1.2.8 Jan 12, 2015
CVE-2015-1055 Photo Gallery by 10Web – Mobile-Friendly Image Gallery SQL Injection

Photo Gallery by 10Web <= 1.2.7 - Unauthenticated Blind SQL Injection via order_by Parameter

Critical CVE-2024-0221 1.8.20 Jan 19, 2024
CVE-2024-0221 Photo Gallery by 10Web – Mobile-Friendly Image Gallery Vulnerability

Photo Gallery by 10Web - Mobile-Friendly Image Gallery <= 1.8.19 - Directory Traversal to Arbitrary File Rename

High CVE-2022-1281 1.6.3 Apr 11, 2022
CVE-2022-1281 Photo Gallery by 10Web – Mobile-Friendly Image Gallery SQL Injection

Photo Gallery by 10Web <= 1.6.2 - SQL Injection

High CVE-2014-9312 1.2.6 Feb 12, 2015
CVE-2014-9312 Photo Gallery by 10Web – Mobile-Friendly Image Gallery File Upload

Photo Gallery by 10Web <= 1.2.5 - Unrestricted File Upload

Licensing Notices

This record contains material that is subject to copyright

DEFIANT
Copyright 2012-2026 Defiant Inc.

License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more

MITRE
Copyright 1999-2026 The MITRE Corporation

License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more