CVE-2026-7048: Photo Gallery by 10Web <= 1.8.40 - Authenticated (Contributor+) SQL Injection via 'order_by' Shortcode Attribute
The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to time-based blind SQL Injection via the 'orderby' 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-7048?
CVE-2026-7048 has a medium severity rating of 6.5.
How do I fix CVE-2026-7048?
To fix CVE-2026-7048, update the Photo Gallery by 10Web plugin to version 1.8.41 or later.
What type of vulnerability is CVE-2026-7048?
CVE-2026-7048 is classified as an SQL Injection vulnerability.
What is the impact of CVE-2026-7048 on my WordPress site?
CVE-2026-7048 allows authenticated users with Contributor+ roles to exploit SQL Injection via the 'order_by' parameter.
Is CVE-2026-7048 exploitable without authentication?
No, CVE-2026-7048 requires authenticated access for exploitation.