CVE-2026-92974
Description
The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'thumb_url' parameter in all versions up to, and including, 1.8.46 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. Exploitation requires that the authenticated victim holds the manage_options capability, as the editimage_bwg AJAX action performs a capability check but no nonce verification, meaning the payload can be delivered via a crafted GET request without a CSRF token.
Affected WordPress components
-
Photo Gallery by 10Web – Mobile-Friendly Image Gallery Plugin · photo-galleryUp to and including 1.8.46View on WordPress.org
-
Photo Gallery Theme · photo-galleryUp to and including 1.8.46View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- 10web Photo Gallery by 10Web – Mobile-Friendly Image Gallery — Up to and including 1.8.46
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.46/admin/views/Editimage.php#L273
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.46/admin/views/Editimage.php#L93
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.46/framework/WDWLibrary.php#L18
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.46/photo-gallery.php#L910
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset?reponame=&old=3716530%40photo-gallery&new=3716530%40photo-gallery
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/29c33526-3a60-45ab-95ef-22c78b310f74?source=cve
- nvd.nist.gov Official NVD record