Path traversal in Tinymce Thumbnail Gallery - CVE-2012-20002
Published: December 5, 2026
Vulnerability details
The vulnerability allows a remote attacker to read arbitrary files accessible to the web server process, potentially exposing database credentials.
The vulnerability exists due to path traversal in the TinyMCE Thumbnail Gallery plugin's download-image.php handler when it resolves a user-supplied file path without confining it to the intended directory. A remote attacker can cause the handler to return files outside that directory.
Affected software
How to mitigate CVE-2012-20002
External References
- https://www.cve.org/CVERecord?id=CVE-2012-20002
- https://packetstorm.news/files/id/113417/
- https://www.exploit-db.com/exploits/19022
- https://wpscan.com/vulnerability/4a49b023-c1c9-4cc4-a2fd-af5f911bb400
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/wordpress/wp-tinymce-lfi.yaml
- https://wordpress.org/plugins/tinymce-thumbnail-gallery/
- https://www.vulncheck.com/advisories/tinymce-thumbnail-gallery-wordpress-plugin-1.1.0-path-traversal-via-download-image-php