Executive brief
CopyPress, a WordPress theme used for website design and layout, contains a security flaw that allows unauthorized users to access sensitive internal files. By exploiting this vulnerability, an attacker could view configuration files containing database credentials, potentially leading to a full takeover of the website and its data. There is currently no official patch available from the developer.
Technical details
A Local File Inclusion (LFI) vulnerability exists in the ThemeREX CopyPress theme for WordPress (versions 1.4.5 and below) due to improper control of filenames in PHP include/require statements (CWE-98). An unauthenticated remote attacker can exploit this by sending specially crafted requests to include local files from the server. Successful exploitation can lead to the disclosure of sensitive information, such as the wp-config.php file, which may contain database credentials and security keys. While the attack complexity is rated as high, no official patch has been released as of the advisory date, and users are advised to use third-party mitigation rules or switch themes.
Affected products
- ThemeREX CopyPress <= 1.4.5
Timeline
- 2025-10-15: other: Vulnerability reported by researcher
- 2026-05-26: advisory: Patchstack published advisory details
- 2026-06-17: disclosed: CVE published to NVD