SQL Injection in 10web Photo Gallery By – Mobile-Friendly Image
CVE-2026-7048
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.
Vulnerability class: SQL Injection
EPSS: 0.005 (41.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
Affected products
- 10web Photo Gallery By – Mobile-friendly Image — versions 0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-7048?
- CVE-2026-7048 is a medium-severity vulnerability in 10web Photo Gallery By – Mobile-Friendly Image, classified under SQL Injection. CVSS score: 6.5/10. Published 2026-05-28.
- How severe is CVE-2026-7048?
- Medium severity. CVSS v3 base score is 6.5 out of 10.