Photo Gallery by 10Web <= 1.8.46 - Reflected Cross-Site Scripting via 'thumb_url' Parameter
What fixes it
No source in this snapshot names a fixed version.
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.
Text from CVE List
Affected versions 1
- Photo Gallery by 10Web – Mobile-Friendly Image Galleryaffected: all versions through 1.8.46CVE List
References 6
- wordfence.com/threat-intel/vulnerabilities/id/29c33526-3a60-45ab-95ef-22c78b310f74?source=cveReferencevia CVE List
- plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.46/admin/views/Editimage.php#L273Referencevia CVE List
- plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.46/admin/views/Editimage.php#L93Referencevia CVE List
- plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.46/photo-gallery.php#L910Referencevia CVE List
- plugins.trac.wordpress.org/browser/photo-gallery/tags/1.8.46/framework/WDWLibrary.php#L18Referencevia CVE List
- plugins.trac.wordpress.org/changeset?reponame=&old=3716530%40photo-gallery&new=3716530%40photo-galleryReferencevia CVE List