Skip to main content

Online Voting System CVE-2026-14649

| EUVDEUVD-2026-41693 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2026-07-04 cna@vuldb.com
6.9
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send unauthenticated POST request to /saveVote.php
  2. Delivery
    Inject SQL metacharacters via voterName, voterID, or selectedCandidate
  3. Exploit
    Bypass test_input sanitization function
  4. Execution
    Alter backend SQL query logic
  5. Impact
    Read or modify voter database records

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Exploitation Conditions

No special conditions are required for exploitation - /saveVote.php is a publicly accessible endpoint in a default installation that processes unauthenticated HTTP POST requests as part of normal vote submission. The CVSS 4.0 vector PR:N confirms no authentication is required. All four injectable parameters are part of the standard vote form available to any visitor. Exploitation is limited to: (1) deployments specifically running code-projects Online Voting System 1.0, (2) instances reachable over a network (local or internet-facing), and (3) installations without a WAF or custom sanitization applied at the server layer. No specific PHP configuration, non-default feature flag, or privileged account is required.

Impact

The CVSS 4.0 score of 6.9 with vector AV:N/AC:L/AT:N/PR:N/UI:N reflects a low-friction, unauthenticated network attack requiring no special conditions - a high-severity attack surface profile. However, all three impact dimensions are rated Low (VC:L/VI:L/VA:L), indicating the database or application scope limits the blast radius. A public proof-of-concept is referenced via a GitHub gist, which materially lowers exploitation effort and suggests this was confirmed through researcher testing rather than vendor disclosure. No CISA KEV listing is present, meaning no confirmed active exploitation campaigns are known at time of analysis. No EPSS score was provided in the input data - exploitation probability cannot be quantified from available signals. The primary risk moderator is product prevalence: code-projects Online Voting System is an educational demo with negligible enterprise or production deployment, making this a low-priority finding for most security teams unless the specific application is confirmed in their environment.

Exploit ScenarioDerived

An unauthenticated attacker sends a crafted HTTP POST request to /saveVote.php on a publicly accessible deployment, injecting SQL syntax (e.g., a single quote or UNION SELECT payload) into the voterID or selectedCandidate parameter. The test_input function fails to strip or escape the metacharacters, causing the backend SQL query to execute attacker-controlled logic - enabling enumeration of voter records, manipulation of vote tallies, or authentication bypass if credentials are stored in the same database. A public proof-of-concept on GitHub (https://gist.github.com/c4ttr4ck/a29b2238099fa07b4f072c21123b55ef) documents a working exploitation path.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 04, 2026

SQL injection in code-projects Online Voting System 1.0 exposes remote unauthenticated attackers a direct path to manipulate backend database queries through four parameters in the vote submission endpoint /saveVote.php. The test_input function - intended as a sanitization layer - fails to neutralize SQL metacharacters across voterName, voterEmail, voterID, and selectedCandidate, indicating a systemic rather than isolated input-handling failure. A publicly available proof-of-concept exists on GitHub, lowering the exploitation barrier, though real-world exposure is substantially constrained by the product's near-zero production deployment footprint as an educational PHP project.

RemediationAI

No vendor-released patch has been identified at time of analysis - code-projects does not maintain security update cycles for its educational projects. The definitive fix is replacing the test_input function with PHP PDO or MySQLi prepared statements with bound parameters, which eliminates the SQL injection root cause entirely; this change must be applied consistently across all four vulnerable parameters in /saveVote.php. As a compensating control, web server access controls (e.g., Apache .htaccess or nginx allow/deny directives) can restrict /saveVote.php to known IP ranges, reducing unauthenticated exposure - though this breaks the application's intended public accessibility and is not a substitute for code-level remediation. Deploying a WAF rule blocking SQL metacharacter patterns in POST body parameters offers partial mitigation but can be bypassed with encoding techniques. The most effective long-term resolution is replacing this application with an actively maintained alternative. Advisory reference: https://vuldb.com/vuln/376162.

Affected VersionsENISA

Online Voting System 1.0

Affected Packages

euvd online_voting_system no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected application is a PHP-based voting system distributed by code-projects.org, a platform that publishes educational and demo source code projects. The vulnerable file /saveVote.php contains a function named test_input which performs superficial input handling but fails to prevent SQL injection - a textbook instance of CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component), which encompasses CWE-89 SQL Injection as a child weakness. The root cause is that user-supplied values are not bound through parameterized queries or prepared statements before being embedded in SQL logic. Four parameters are affected - voterName, voterEmail, voterID, and selectedCandidate - suggesting the unsanitized input pattern is applied broadly across the vote-processing logic rather than in one isolated location. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms the vulnerability is network-accessible with no authentication, no complexity barrier, and no required user interaction.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vuldb) PRIMARY 6.9 MEDIUM
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
vuln.today AI 7.3 HIGH

Unauthenticated network endpoint with no complexity barrier; low C/I/A reflects limited scope of a single-purpose voting app database.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Rare
educational PHP demo project, negligible production deployment
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy