WordPress Plugin Vulnerabilities
Photo Gallery by 10Web < 1.8.41 - Authenticated (Contributor+) SQL Injection via 'order_by' Shortcode Attribute
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.
Affects Plugins
References
Classification
Type
SQLI
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
Or Benit
Verified
No
WPVDB ID
Timeline
Publicly Published
2026-05-27 (about 2 months ago)
Added
2026-05-27 (about 2 months ago)
Last Updated
2026-05-28 (about 2 months ago)