The WordPress Gallery Plugin WordPress plugin before 3.39 is vulnerable to Arbitrary File Read and Delete due to a lack of input parameter validation in the `gallery_edit` function, allowing an attacker to access arbitrary resources on the server.
https://wpscan.com/vulnerability/5c8473f4-4b52-430b-9140-b81b0a0901da