CVE-2021-47904 PhreeBooks 5.2.3 - Remote Code Execution

High 8.7 Published Updated

Authenticated attackers can upload malicious PHP files via the Image Manager to execute arbitrary code on the server.

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-47904?

CVE-2021-47904 is a high-severity vulnerability in Phreesoft PhreeBooks, published on 23 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

PhreeBooks 5.2.3 contains an authenticated file upload vulnerability in the Image Manager that allows remote code execution. Attackers can upload a malicious PHP web shell by exploiting unrestricted file type uploads to gain command execution on the server.

Weakness: CWE-434

Which versions are affected by CVE-2021-47904?

How do I fix CVE-2021-47904?

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

Is CVE-2021-47904 being exploited?

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

Sources

Also known as GHSA-xcxf-266c-6x5q.

Is CVE-2021-47904 in your software?

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

Check your SBOMs for free