CVE-2021-47751 CuteEditor for PHP 6.6 - Directory Traversal

Medium 5.3 Published Updated

Attackers can exploit a directory traversal flaw in CuteEditor for PHP to write arbitrary files to the web root, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-47751?

CVE-2021-47751 is a medium-severity path traversal vulnerability in Phphtmledit CuteEditor, published on 13 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

CuteEditor for PHP (now referred to as Rich Text Editor) 6.6 contains a directory traversal vulnerability in the browse template feature that allows attackers to write files to arbitrary web root directories. Attackers can exploit the ServerMapPath() function by renaming uploaded HTML files using directory traversal sequences to write files outside the intended template directory.

Weakness: CWE-22

Which versions are affected by CVE-2021-47751?

It affects 1 product.

Products include Phphtmledit Rich Text Editor.

How do I fix CVE-2021-47751?

No fix has been published for CVE-2021-47751 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2021-47751 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-47751 exists.

Sources

Also known as GHSA-7jgq-pvpg-hqwq.

Is CVE-2021-47751 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free