Skip to content

CVE-2026-7048 Photo Gallery by 10Web <= 1.8.40 - Authenticated (Contributor+) SQL Injection via 'order_by' Shortcode Attribute

MediumCVSS 6.5 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
WordPress

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
10web Photo Gallery by 10Web – Mobile-Friendly Image Gallery <= 1.8.40 after 1.8.40 Fixed
wordpress photo-gallery(WordPress) < 1.8.41 1.8.41 Fixed

Affected products

ProductAffected versionsFixed in
10web Photo Gallery by 10Web – Mobile-Friendly Image Gallery <= 1.8.40 No fix listed
wordpress photo-gallery(WordPress) < 1.8.41 1.8.41

References