CVE-2026-86161
Received Received - Intake

SQL Injection in Online Voting System

Vulnerability report for CVE-2026-86161, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-06

Last updated on: 2026-09-06

Assigner: VulDB

Description

A vulnerability was found in SourceCodester Online Voting System 1.0. The impacted element is an unknown function of the file /ajax.php?action=delete_category. Performing a manipulation of the argument ID results in sql injection. Remote exploitation of the attack is possible. The exploit has been made public and could be used.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-06
Last Modified
2026-09-06
Generated
2026-09-06
AI Q&A
2026-09-06
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
sourcecodester online_voting_system 1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a SQL injection vulnerability in the Online Voting System 1.0. It exists in the file /ajax.php when handling the action=delete_category parameter. The 'ID' argument is not properly validated, allowing attackers to inject malicious SQL code into the database. This can lead to unauthorized data access, modification, or deletion without authentication.

Detection Guidance

To detect SQL injection vulnerabilities like this, you can use tools such as SQLmap to test the parameter for injection points. Example command: sqlmap -u "http://example.com/voting/ajax.php?action=delete_category&id=1" --batch. Additionally, inspect web server logs for unusual queries or errors related to SQL syntax.

Impact Analysis

An attacker could exploit this to steal sensitive voter data, alter election results, delete categories or votes, or disrupt the voting system entirely. Since no authentication is required, anyone with internet access could potentially compromise the system.

Compliance Impact

This vulnerability likely violates GDPR due to unauthorized data access and potential data breaches. For HIPAA, if voter data includes health-related information, it could also lead to compliance failures. Both standards require strict data protection measures which this flaw undermines.

Mitigation Strategies

Immediately update the application to use prepared statements for all database queries. Implement strict input validation for the 'id' parameter to reject non-numeric values. Restrict database user permissions to the minimum required. Conduct a security audit to identify other potential vulnerabilities.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-86161. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart