CVE-2024-0221
WordPress vulnerability analysis and mitigation

Overview

The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress (CVE-2024-0221) contains a Directory Traversal vulnerability affecting all versions up to and including 1.8.19. The vulnerability was discovered by security researcher Bence Szalai and publicly disclosed on January 19, 2024. This popular plugin, with over 200,000 active installations, is designed for creating mobile-friendly galleries in WordPress (Security Online).

Technical details

The vulnerability exists in the rename_item function, which allows authenticated attackers to rename arbitrary files on the server through directory traversal. The severity of this vulnerability is rated as Critical with a CVSS score of 9.1 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H). The flaw is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) (NVD).

Impact

The vulnerability can lead to complete site takeovers if exploited successfully, particularly if attackers manage to rename critical files such as wp-config.php. While by default the vulnerability can only be exploited by administrators, in the premium version of the plugin, the risk extends further as administrators can grant gallery management permissions to lower-level users, potentially making the vulnerability exploitable by users with contributor-level access (NVD).

Mitigation and workarounds

The vulnerability has been patched in version 1.8.20 of the Photo Gallery plugin. Site owners and administrators are strongly advised to update to this latest version immediately to protect their installations (Security Online).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-0726HIGH8.1
  • nexter-extension
NoYesJan 20, 2026
CVE-2026-0690MEDIUM6.4
  • flatpm-wp
NoYesJan 20, 2026
CVE-2026-0608MEDIUM6.4
  • head-meta-data
NoYesJan 20, 2026
CVE-2026-0548MEDIUM5.4
  • tutor
NoYesJan 20, 2026
CVE-2026-0554MEDIUM4.3
  • notificationx
NoYesJan 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management