← Vulnerability feed

Vulnerability record · CVE-2024-5481 · published 7 June 2024

CVE-2024-5481: 10web photo gallery path traversal vulnerability

10web · Photo Gallery

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.

8.8 CVSS 3.1 High EPSS 0.73% · top 47.7% CWE-35 · CWE-35CWE-22 · Path traversal
8.8CVSS 3.1 base score
0.73%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
12References
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-5481 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2022-128110web photo gallery sql injection vulnerabilityThe Photo Gallery WordPress plugin through 1.6.3 does not properly escape the $_POST['filter_tag'] parameter, which is appended to an SQL query, maki…EPSS 43%9.8CVE-2022-0169Photo Gallery by 10Web WordPress plugin unauthenticated SQL injectionThe Photo Gallery by 10Web WordPress plugin before 1.6.0 fails to validate and escape the bwg_tag_id_bwg_thumbnails_0 parameter before using it in a …EPSS 75%analysed9.8CVE-2021-2413910web photo gallery sql injection vulnerabilityUnvalidated input in the Photo Gallery (10Web Photo Gallery) WordPress plugin, versions before 1.5.55, leads to SQL injection via the frontend/models…EPSS 5.5%9.8CVE-2019-1611910web photo gallery sql injection vulnerabilitySQL injection in the photo-gallery (10Web Photo Gallery) plugin before 1.5.35 for WordPress exists via the admin/controllers/Albumsgalleries.php albu…EPSS 25%9.8CVE-2019-1431310web photo gallery sql injection vulnerabilityA SQL injection vulnerability exists in the 10Web Photo Gallery plugin before 1.5.31 for WordPress. Successful exploitation of this vulnerability wou…EPSS 4.5%8.8CVE-2015-938010web photo gallery cross-site request forgery vulnerabilityThe photo-gallery plugin before 1.2.42 for WordPress has CSRF.EPSS 0.82%8.8CVE-2014-9312WordPress Photo Gallery plugin unrestricted file uploadPhoto Gallery 1.2.5 (10web) contains an unrestricted file upload flaw (CWE-434) that lets a user upload files without proper type or extension valida…EPSS 45%analysed7.5CVE-2015-105510web photo gallery sql injection vulnerabilitySQL injection vulnerability in the Photo Gallery plugin 1.2.7 for WordPress allows remote attackers to execute arbitrary SQL commands via the order_b…EPSS 2.1%

Source: NIST National Vulnerability Database (record CVE-2024-5481), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.