CVE-2026-86160

SourceCodester Online Voting System ajax.php delete_voting sql injection

Published Sep 6, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The flaw exists in the Ajax handler for the delete voting operation. A crafted request that alters the ID argument can inject arbitrary SQL. The injected code runs in the context of the database, allowing an attacker to read, modify or delete voting records, thereby compromising the confidentiality, integrity, and availability of election data.

Affected Systems

This vulnerability impacts SourceCodester Online Voting System version 1.0. No other specific affected versions are listed, and no patch has been published by the vendor according to the available information.

Risk and Exploitability

The vulnerability carries a CVSS score of 6.9, reflecting moderate severity. The EPSS score is not available and the issue is not listed in the CISA KEV catalog. The attack is remote and can be launched via a crafted HTTP request to /ajax.php?action=delete_voting, and the vulnerability has been publicly disclosed, making exploitation a realistic threat.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the application to a version that contains the SQL injection fix, or contact SourceCodester for a patch.
  • Validate and sanitize the ID parameter in the delete_voting endpoint; use prepared statements to prevent malicious SQL.
  • Implement a Web Application Firewall with SQL injection detection to block suspicious requests.
  • Restrict access to the delete_voting functionality to authenticated administrators only, and enforce proper authorization checks.

Generated by OpenCVE AI on September 6, 2026 at 03:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title SourceCodester Online Voting System ajax.php delete_voting sql injection
First Time appeared Sourcecodester
Sourcecodester online Voting System
Weaknesses CWE-74
CWE-89
CPEs cpe:2.3:a:sourcecodester:online_voting_system:*:*:*:*:*:*:*:*
Vendors & Products Sourcecodester
Sourcecodester online Voting System
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 6.9, 'vector': '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'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Sep 8, 2026, 1:24 PM
Reserved
Sep 5, 2026, 9:48 AM
Status
Deferred
Published
Sep 6, 2026, 3:17 AM
Modified
Sep 8, 2026, 2:17 PM