Home

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.

PUBLISHED Reserved 2026-04-25 | Published 2026-05-28 | Updated 2026-05-28 | Assigner Wordfence




MEDIUM: 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Problem types

CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Product status

Default status
unaffected

Any version
affected

Timeline

2026-04-25:Vendor Notified
2026-05-27:Disclosed

Credits

Or Benit finder

References

www.wordfence.com/...-3604-4fb0-950f-e1f838cabb05?source=cve

plugins.trac.wordpress.org/....8.39/framework/WDWLibrary.php

plugins.trac.wordpress.org/...trunk/framework/WDWLibrary.php

plugins.trac.wordpress.org/...allery/trunk/photo-gallery.php

plugins.trac.wordpress.org/.../tags/1.8.39/photo-gallery.php

plugins.trac.wordpress.org/...trunk/framework/WDWLibrary.php

plugins.trac.wordpress.org/....8.39/framework/WDWLibrary.php

plugins.trac.wordpress.org/...end/controllers/controller.php

plugins.trac.wordpress.org/...end/controllers/controller.php

plugins.trac.wordpress.org/...-gallery&sfp_email=&sfph_mail=

cve.org (CVE-2026-7048)

nvd.nist.gov (CVE-2026-7048)

Download JSON