# CVE-2024-0221: Photo Gallery by 10Web - Mobile-Friendly Image Gallery \<= 1.8.19 - Directory Traversal to Arbitrary File Rename

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2024-02-05 · Modified: 2026-04-08
- Record: https://cvemate.com/vulnerability/CVE-2024-0221 · JSON: https://cvemate.com/vulnerability/CVE-2024-0221/json

## Description

```text
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.
```

## Signals

- CVSS: 9.1 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- EPSS: 1.301%, percentile 71.448%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- 10web photo\_gallery: \< 1.8.20
- 10web photo gallery by 10web – mobile-friendly image gallery: ≤ 1.8.19
- wordpress photo-gallery: ≤ 1.8.19 (fixed in 1.8.20)

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/3a3b8f32-f29d-4e67-8fad-202bfc8a9918?source=cve>
- <https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L441>
- <https://plugins.trac.wordpress.org/browser/photo-gallery/trunk/filemanager/controller.php#L291>
- <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=>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/3a3b8f32-f29d-4e67-8fad-202bfc8a9918>

---

Data as of 2026-12-05T09:39:08.803Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
