Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed Online Voting System instance
-
DeliverySend crafted HTTP request to /ajax.php?action=delete_voting
-
ExploitInject malicious SQL payload in ID parameter
-
ExecutionDatabase executes attacker-controlled query
-
ImpactExtract or destroy voting records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions are required for exploitation. The vulnerable endpoint is accessible remotely over HTTP with no authentication (PR:N confirmed by CVSS vector), no prior account registration, and no special client state. The only requirement is network reachability to the web server hosting the application. Exploitation is limited in practice by the niche deployment footprint of SourceCodester applications - they are rarely internet-exposed in enterprise environments - and by the bounded impact scope (only the application's own database is affected; no scope change to other systems). The CVSS 4.0 E:P modifier confirms a working public exploit is available, reducing the skill threshold further. |
| Impact | The CVSS 4.0 score of 6.9 reflects moderate impact per component (VC:L/VI:L/VA:L) but no scope change to subsequent systems, which is consistent with a bounded single-database application. The E:P modifier confirms a public exploit exists. There is no CISA KEV listing, so no confirmed active exploitation campaign has been observed. Real-world risk depends heavily on deployment context: SourceCodester applications are predominantly used in student projects, municipal demonstrations, or small institutional settings - even a mid-sized municipal IT team in gniezno should treat this as urgent if they have deployed this application for any live voting function, since the integrity of election data is a high-consequence target regardless of scale. EPSS data is not provided; given the niche product footprint, widespread automated exploitation is unlikely, but the trivial exploitation conditions (no auth, no complexity) make opportunistic scanning plausible once the PoC circulates. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted HTTP POST or GET request to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 06, 2026
Unauthenticated SQL injection in SourceCodester Online Voting System 1.0 exposes the /ajax.php?action=delete_voting endpoint to arbitrary database manipulation via an unsanitized ID parameter. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms remote exploitation with no authentication or preconditions, and a public proof-of-concept has been disclosed on GitHub. An attacker can read, modify, or delete voting records depending on the database user's privileges, with potential to undermine the integrity of any election or poll managed by the application.
RemediationAI
No vendor-released patch has been identified at time of analysis; SourceCodester has not published a security advisory. The primary fix is to replace direct parameter interpolation in the delete_voting handler with parameterized queries or prepared statements using PHP's PDO or MySQLi with bound parameters - this eliminates the injection surface entirely. As an immediate compensating control, restrict access to /ajax.php endpoints to authenticated sessions via server-side session validation, which would raise the effective privilege bar even without patching the injection itself. Additionally, limit the database account used by the application to the minimum required privileges (e.g., no INFORMATION_SCHEMA reads, no multi-table DELETE) to constrain what an attacker can extract or destroy. Operators should also consider taking the system offline if it is used for any live or consequential voting process until the code is audited and hardened.
Affected VersionsENISA
Affected Packages
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 web voting system distributed by SourceCodester (cpe:2.3:a:sourcecodester:online_voting_system:*:*:*:*:*:*:*:*), a platform that publishes free academic and hobby-grade source code projects. The vulnerability is a classic CWE-89 (SQL Injection) arising from direct interpolation of the user-supplied ID parameter into a DELETE query within the AJAX handler at /ajax.php?action=delete_voting, with no parameterization or input sanitization applied. This allows manipulation of the query's WHERE clause to target arbitrary rows, perform UNION-based or blind data extraction, or widen the deletion scope to affect all records.
Know when Online Voting System 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
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:P
Network-reachable with no auth (PR:N), trivial conditions (AC:L); bounded L impact across CIA consistent with single-database application and CVSS 4.0 VC:L/VI:L/VA:L.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability has been found in SourceCodester Online Voting System 1.0. The affected element is an unknown function of the file /ajax.php?action=delete_voting. Such manipulation of the argument ID leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Related Vulnerabilities in SourceCodester Online Voting System SQL Injection
View all 4More in Online Voting System
View allSQL injection vulnerability in janobe Online Voting System v.1.0 allows a remote attacker to execute arbitrary code via
Projectworld Online Voting System Version 1.0 is vulnerable to Cross Site Request Forgery (CSRF) via voter.php. Rated me
Online Birth Certificate System Project V 1.0 is affected by cross-site scripting (XSS). Rated medium severity (CVSS 6.1
Unauthenticated SQL injection in code-projects Online Voting System 0.x-1.0 exposes the admin login endpoint to full aut
SQL injection in SourceCodester Online Voting System 1.0 allows unauthenticated remote attackers to read and manipulate
A vulnerability was identified in itsourcecode Online Voting System 1.0. Rated medium severity (CVSS 6.9), this vulnerab
A weakness has been identified in itsourcecode Online Voting System 1.0. Rated medium severity (CVSS 5.3), this vulnerab
A vulnerability was detected in itsourcecode Online Voting System 1.0. Rated medium severity (CVSS 5.3), this vulnerabil
A security flaw has been discovered in itsourcecode Online Voting System 1.0. Rated medium severity (CVSS 5.3), this vul
EUVD-2026-72040
GHSA-j6gf-62p6-m62v
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB