CVE-2021-47751CWE-22

CuteEditor for PHP 6.6 - Directory Traversal

Medium · published January 13, 2026

CVSS v4.0
5.3
EPSS
1%
Percentile
57.7
In the wild
Unconfirmed
What it is

⚠️ A sneaky directory traversal could let attackers write files anywhere on your web server! CuteEditor for PHP, also known as Rich Text Editor, has a vulnerability that’s surprisingly easy to exploit. 🔥 Think of it like a delivery driver who’s given a package to drop off at a specific address but instead decides to leave it at a completely different location — one where they shouldn't be! This vulnerability allows attackers to rename uploaded HTML files to access untouchable directories. If this vulnerability is exploited, an attacker could write malicious files outside the intended template directory, possibly leading to unauthorized access or a complete takeover of your web server. Yikes! This could expose sensitive information or allow the attacker to deploy harmful scripts.

Put simply

Think of it like a delivery driver who’s given a package to drop off at a specific address but instead decides to leave it at a completely different location — one where they shouldn't be! This vulnerability allows attackers to rename uploaded HTML files to access untouchable directories. The vulnerability in CuteEditor allows directory traversal via the ServerMapPath() function, enabling file uploads to arbitrary web root directories by using traversal sequences in file names.

What to do

If this vulnerability is exploited, an attacker could write malicious files outside the intended template directory, possibly leading to unauthorized access or a complete takeover of your web server. Yikes! This could expose sensitive information or allow the attacker to deploy harmful scripts. To protect against this, update CuteEditor to the latest version, verify directory permissions, and implement strict validation on file uploads. Additionally, review your configurations to restrict where files can be written. You've got this! Fixing this vulnerability will keep your server safe and sound. 🛡️

The record
Technical detail
CVSS v4.0
5.3 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS
0.00850 · 57.7th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-01-13T22:51Z
EPSS history
Timeline
  • 13 JAN 22:51Z
    CuteEditor for PHP 6.6 - Directory Traversal
    cvelistv5