CuteEditor for PHP Directory Traversal Vulnerability Allowing Arbitrary File Write

Vulnerability

A directory traversal vulnerability has been identified in CuteEditor for PHP version 6.6. This vulnerability exists in the browse template feature, where attackers can manipulate the ServerMapPath() function to write files to arbitrary web root directories. By renaming uploaded HTML files with directory traversal sequences, attackers can exploit this vulnerability to place files outside the designated template directory.

Impact

Exploitation of this vulnerability allows for arbitrary file writing in the web root directory, which could lead to further attacks such as cross-site scripting or overwriting critical files.

Reproduction

To reproduce this vulnerability, upload an HTML file (such as one containing a cross-site scripting payload) through the 'Insert Templates' page. After uploading, use the 'Rename File' option to rename the file using directory traversal sequences that navigate up the directory structure. Once the file is renamed, it will be written to the web root directory.

Added: Jan 14, 2026, 12:39 AM
Updated: Jan 14, 2026, 12:39 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
3.1
exploitability
6.6
remediation
0.0
relevance
2.0
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.