CVE-2026-86161

SourceCodester Online Voting System ajax.php delete_category sql injection

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

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

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 11, 2026, 8:37 PM
Reserved
Sep 5, 2026, 9:48 AM
Status
Deferred
Published
Sep 6, 2026, 3:17 AM
Modified
Sep 11, 2026, 9:17 PM