🔐 CVE Alert

CVE-2024-0221

CRITICAL 9.1

Photo Gallery by 10Web - Mobile-Friendly Image Gallery <= 1.8.19 - Directory Traversal to Arbitrary File Rename

CVSS Score
9.1
EPSS Score
0.0%
EPSS Percentile
0th

The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 1.8.19 via the rename_item function. This makes it possible for authenticated attackers to rename arbitrary files on the server. This can lead to site takeovers if the wp-config.php file of a site can be renamed. By default this can be exploited by administrators only. In the premium version of the plugin, administrators can give gallery management permissions to lower level users, which might make this exploitable by users as low as contributors.

CWE CWE-22
Vendor 10web
Product photo gallery by 10web – mobile-friendly image gallery
Published Feb 5, 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 critical 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:L/PR:H/UI:N/S:C/C:H/I:H/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.19

References

NVD ↗ CVE.org ↗ EPSS Data ↗
wordfence.com: https://www.wordfence.com/threat-intel/vulnerabilities/id/3a3b8f32-f29d-4e67-8fad-202bfc8a9918?source=cve plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L441 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L291 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3022981%40photo-gallery%2Ftrunk&old=3013021%40photo-gallery%2Ftrunk&sfp_email=&sfph_mail=

Credits

Bence Szalai