CVE-2024-5481
WordPress vulnerability analysis and mitigation

Overview

The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress contains a Path Traversal vulnerability (CVE-2024-5481) affecting all versions up to and including 1.8.23. The vulnerability was discovered in the esc_dir function and was patched in version 1.8.24 (NVD).

Technical details

The vulnerability is classified as a Path Traversal (CWE-22) issue with a CVSS v3.1 base score of 8.8 HIGH (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) according to NVD, while Wordfence rates it as 6.8 MEDIUM (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H). The vulnerability exists in the esc_dir function implementation, which fails to properly restrict directory traversal attempts (NVD).

Impact

The vulnerability allows authenticated attackers to copy the contents of arbitrary files on the server, which may contain sensitive information. Additionally, attackers can delete arbitrary directories, including the root WordPress directory. While by default this can only be exploited by administrators, in the premium version of the plugin, administrators can grant gallery edit permissions to lower-level users, potentially making this exploitable by users with contributor-level access (NVD).

Exploitability

The vulnerability requires authentication and can be exploited by users with appropriate permissions. By default, only administrators can exploit this vulnerability, but in the premium version, the attack surface could extend to lower-privileged users if they are granted gallery edit permissions (NVD).

Mitigation and workarounds

The vulnerability has been patched in version 1.8.24 of the Photo Gallery plugin. Users are strongly advised to update to this version or later to protect against potential exploitation (NVD).

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-92541HIGH7.2
  • import-users-from-csv-with-meta
NoYesSep 20, 2026
CVE-2026-92540HIGH7.2
  • import-users-from-csv-with-meta
NoYesSep 20, 2026
CVE-2026-86785MEDIUM5.3
  • woo-to-facebook-shop
NoNoSep 20, 2026
CVE-2026-92965LOW3.7
  • tiktok-for-business
NoYesSep 20, 2026
CVE-2026-92423LOW2.7
  • meow-gallery
NoYesSep 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