WordPress Gallery Exporter <= 1.3 - Authenticated (Administrator+) Arbitrary File Download

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVE CVE-2024-31342
CVSS 2.7 (Low)
Publicly Published April 5, 2024
Last Updated April 10, 2024
Researcher Abdi Prawira Negara


The WordPress Gallery Exporter – Export your NextGen, Envira and FooGallery galleries to your computer plugin for WordPress is vulnerable to arbitrary file downloads in all versions up to, and including, 1.3. This is due to the plugin improperly validating the path to requested file downloads. This makes it possible for authenticated attackers, with administrator-level access and above, to download arbitrary files that may contain sensitive information such as wp-config.php



Vulnerability Details for WordPress Gallery Exporter – Export your NextGen, Envira and FooGallery galleries to your computer

Software Type Plugin
Software Slug wp-gallery-exporter (view on wordpress.org)
Patched? No
Remediation No known patch available. Please review the vulnerability's details in depth and employ mitigations based on your organization's risk tolerance. It may be best to uninstall the affected software and find a replacement.
Affected Version
  • <= 1.3

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.