Theme Editor <= 2.5 - Authenticated Arbitrary File Download

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVE CVE-2021-24154
CVSS Medium (4.9)
Publicly Published February 13, 2021
Last Updated January 22, 2024
Researcher Nguyen Van Khanh
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

References

1 affected software package

Software Type Plugin
Software Slug theme-editor (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 2.5
Patched Version
  • 2.6
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.