vulnerability

WordPress Plugin: theme-editor: CVE-2021-24154: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Severity
4
CVSS
(AV:N/AC:L/Au:S/C:P/I:N/A:N)
Published
Feb 13, 2021
Added
May 15, 2025
Modified
Jun 24, 2025

Description

The Theme Editor WordPress plugin before 2.6 did not validate the GET file parameter before passing it to the download_file() function, allowing administrators to download arbitrary files on the web server, such as /etc/passwd

Solution

theme-editor-plugin-cve-2021-24154
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.