CVE-2025-8174: code-projects Voting System · Unrestricted Upload
Affects code-projects Voting SystemSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 34% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 26 Jul 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 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| code-projects Voting System | Affected
| Fixed in– |
AI-suggested
1. Immediate mitigation should include restricting file upload capabilities by implementing strict validation on the 'photo' parameter, such as allowing only specific file types (e.g., JPEG, PNG) and enforcing size limits. 2. Employ server-side checks to verify file content and reject executable or script files. 3. Use secure directories for file uploads that do not allow execution of uploaded files (e.g., storing files outside the web root or disabling script execution in upload directories). 4. Implement authentication and authorization controls to restrict access to the /admin/candidates_add.php functionality. 5. Monitor logs for unusual upload activity or attempts to upload suspicious files. 6. If possible, isolate the voting system server from other critical infrastructure to limit lateral movement. 7. 8. Plan for an upgrade or replacement of the vulnerable voting system software once a vendor patch or a secure alternative is available.
Description
A vulnerability was found in code-projects Voting System 1.0 and classified as critical. Affected by this issue is some unknown functionality of the file /admin/candidates_add.php. The manipulation of the argument photo leads to unrestricted upload. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.