CVE-2026-14649 Details
Description
A vulnerability was detected in code-projects Online Voting System 1.0. Impacted is the function test_input of the file /saveVote.php. Performing a manipulation of the argument voterName/voterEmail/voterID/selectedCandidate results in sql injection. The attack can be initiated remotely.
A SQL injection vulnerability has been identified in the Online Voting System developed by Code-Projects, specifically in version 1.0. The issue resides in the 'saveVote.php' file, within the 'test_input' function. The vulnerability allows remote attackers to manipulate the 'voterName', 'voterEmail', 'voterID', and 'selectedCandidate' POST parameters, leading to unauthorized SQL query manipulation. The 'test_input' function applies 'htmlspecialchars()' without properly escaping single quotes, creating an opportunity for SQL injection.
It is recommended to use prepared statements for database queries to prevent SQL injection. Input validation should be enforced, particularly for voter IDs and email addresses, and an authentication mechanism should be implemented to verify voter identities before accepting votes.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 4, 2026CISA-ADP
Assessed Jul 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/c4ttr4ck/a29b2238099fa07b4f072c21123b55ef | CISA-ADP | ExploitTechnical Description |
| https://code-projects.org/ | [email protected] | Not Applicable |
| https://gist.github.com/c4ttr4ck/a29b2238099fa07b4f072c21123b55ef | [email protected] | ExploitTechnical Description |
| https://vuldb.com/cve/CVE-2026-14649 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/846330 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/376162 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/376162/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| code-projects Online Voting System | 1.0 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jul 7, 2026 | CVE Modified | CISA-ADP |
| Jul 4, 2026 | New CVE Received | [email protected] |
Volerion