Description
This script is vulnerable to directory traversal attacks.
Directory Traversal is a vulnerability which allows attackers to access restricted directories and read files outside of the web server's root directory.
Remediation
Your script should filter metacharacters from user input.
References
Related Vulnerabilities
WordPress Plugin Mailster-Email Newsletter for WordPress Local File Inclusion (4.0.6)
WordPress Plugin Delightful Downloads Directory Traversal (1.6.6)
WordPress Plugin JetWidgets for Elementor and WooCommerce Local File Inclusion (1.1.7)
WordPress Plugin WP Source Control Directory Traversal (3.0.0)