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.
Published: 2026-09-06
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The SourceCodester Online Voting System 1.0 contains a flaw in an unnamed function within the file /ajax.php?action=delete_category. By manipulating the ID parameter, an attacker can inject arbitrary SQL statements into the database query. This SQL injection vulnerability allows remote exploitation and can give the attacker unauthorized read or write access to the database, potentially exposing sensitive voter data or altering election results.

Affected Systems

The affected product is SourceCodester's Online Voting System, version 1.0. No other versions are mentioned, so the impact is limited to the 1.0 release.

Risk and Exploitability

The CVSS score of 6.9 ranks the issue as medium severity, and while the EPSS score is not available, the public availability of a working exploit indicates a realistic threat. The vulnerability is exploitable over the network through normal HTTP requests to the delete_category endpoint, and the lack of authentication restrictions in the description suggests that the attack vector is remote. Given its remote execution potential, administrators should consider applying the most recent patch or mitigating controls promptly.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest patch or upgrade to a newer release of the Online Voting System once it is made available by SourceCodester.
  • Modify the delete_category code to use parameterized queries, ensuring that the ID value is safely bound and not concatenated into SQL statements.
  • Add input validation to sanitize the ID parameter, allowing only numeric values and rejecting any other characters.
  • Restrict access to /ajax.php with authentication or IP-based controls so that only authorized administrators can perform delete operations.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 06 Sep 2026 02:45:00 +0000

Type Values Removed Values Added
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.
Title SourceCodester Online Voting System ajax.php delete_category 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'}


Subscriptions

Sourcecodester Online Voting System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-09-06T02:30:07.476Z

Reserved: 2026-09-05T09:48:33.587Z

Link: CVE-2026-86161

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-06T03:17:17.067

Modified: 2026-09-06T03:17:17.067

Link: CVE-2026-86161

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-06T03:30:05Z

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')