CVE-2024-5426
Description
The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘svg’ parameter in all versions up to, and including, 1.8.23 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. By default, this can only be exploited by administrators, but the ability to use and configure Photo Gallery can be extended to contributors on pro versions of the plugin.
Affected WordPress components
-
Photo Gallery by 10Web – Mobile-Friendly Image Gallery Plugin · photo-galleryUp to and including 1.8.23View on WordPress.org
-
Photo Gallery Theme · photo-galleryUp to and including 1.8.23View 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.23
- 10web photo_gallery — Before 1.8.24
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/UploadHandler.php#L521 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/UploadHandler.php#L542 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3098798/ Patch
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/13436238-f14a-445b-9a9b-fbcf23b7b498?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record