🔐 CVE Alert

CVE-2024-5481

MEDIUM 6.8

Photo Gallery by 10Web – Mobile-Friendly Image Gallery <= 1.8.23 - Authenticated (Contributor+) Path Traversal via esc_dir Function

CVSS Score
6.8
EPSS Score
0.0%
EPSS Percentile
0th

The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 1.8.23 via the esc_dir function. This makes it possible for authenticated attackers to cut and paste (copy) the contents of arbitrary files on the server, which can contain sensitive information, and to cut (delete) arbitrary directories, including the root WordPress directory. By default this can be exploited by administrators only. In the premium version of the plugin, administrators can give gallery edit permissions to lower level users, which might make this exploitable by users as low as contributors.

CWE CWE-35
Vendor 10web
Product photo gallery by 10web – mobile-friendly image gallery
Published Jun 7, 2024
Last Updated Apr 8, 2026
Stay Ahead of the Next One

Get instant alerts for 10web photo gallery by 10web – mobile-friendly image gallery

Be the first to know when new medium vulnerabilities affecting 10web photo gallery by 10web – mobile-friendly image gallery are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

10web / Photo Gallery by 10Web – Mobile-Friendly Image Gallery
0 ≤ 1.8.23

References

NVD ↗ CVE.org ↗ EPSS Data ↗
wordfence.com: https://www.wordfence.com/threat-intel/vulnerabilities/id/76c38826-4d49-4204-b6b6-b01d01373fa9?source=cve plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L178 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L512 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L436 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/changeset/3098798/ wordpress.org: https://wordpress.org/plugins/photo-gallery/#developers

Credits

Tobias Weißhaar