CVE-2025-6843 code-projects Simple Photo Gallery upload-photo.php unrestricted upload
Attackers can upload malicious files via the upload-photo.php script, potentially leading to remote code execution on the server.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-6843?
CVE-2025-6843 is a medium-severity vulnerability in code-projects Simple Photo Gallery, published on 29 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability was found in code-projects Simple Photo Gallery 1.0. It has been classified as critical. Affected is an unknown function of the file /upload-photo.php. The manipulation of the argument file_img leads to unrestricted upload. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
Which versions are affected by CVE-2025-6843?
It affects 1 product.
Products include Fabian Simple Photo Gallery.
How do I fix CVE-2025-6843?
No fix has been published for CVE-2025-6843 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-6843 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6843 exists.
Sources
Also known as GHSA-85v6-pc46-78px.