CVE-2025-6843: code-projects Simple Photo Gallery · Unrestricted Upload
Affects code-projects Simple Photo GallerySource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium.
Data as of 26 Oct 2026, 08:30 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 29 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| code-projects Simple Photo Gallery | Affected
| Fixed in– |
AI-suggested
These include restricting access to the /upload-photo.php endpoint via web application firewalls (WAFs) or IP whitelisting to trusted users only. Implement strict input validation and file type restrictions at the web server or proxy level to block unauthorized file types. Disable or remove the vulnerable upload functionality if not essential. Monitor web server logs for suspicious upload attempts and anomalous activity. Employ intrusion detection systems (IDS) to detect exploitation attempts. Consider isolating the affected application in a segmented network zone to limit potential lateral movement. Organizations should also plan to upgrade or replace the Simple Photo Gallery software once a patched version is released. Regular backups and incident response readiness are critical to mitigate potential damage from exploitation.
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.