Description
A weakness has been identified in SourceCodester Online Voting System 1.0. This affects an unknown function of the file /voting/ajax.php?action=save_category. This manipulation of the argument Category causes sql injection. The attack can be initiated remotely. The exploit has been made available to the public and could be used for attacks.
Published: 2026-09-07
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Remote SQL Injection
Action: Patch Now
AI Analysis

Impact

The vulnerability allows a remote attacker to inject arbitrary SQL statements through the Category parameter in the /voting/ajax.php?action=save_category endpoint. This injection can lead to data exfiltration, modification, or deletion, and in worst case resets the integrity of the voting database or gives the attacker full control over the database. The weakness is a classic SQL injection flaw identified by CWE-89 and improper neutralization of special SQL elements, CWE-74.

Affected Systems

SourceCodester Online Voting System 1.0 is affected. The flaw resides in an unknown function that processes the Category argument in the ajax.php file. No other versions or products were listed.

Risk and Exploitability

The CVSS base score is 6.9, indicating moderate to high risk. EPSS information is not available, so the likelihood of exploitation is uncertain. The vulnerability is not currently listed in the CISA KEV catalog, but the exploit is publicly available on GitHub, giving attackers ready-to-use code. The attack can be triggered remotely without authentication and may require only a simple HTTP request. Users of this system, especially those without strong input validation or restricted database permissions, face the highest impact.

Generated by OpenCVE AI on September 7, 2026 at 13:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a patched version of SourceCodester Online Voting System if one is released.
  • If an update is not available, modify the Category handling code to use parameterized queries or prepared statements, ensuring that user input is never directly concatenated into SQL strings.
  • Configure the database account used by the application with the least privileges; it should only have rights necessary for its intended functions and not allow DROP or ALTER statements.
  • Apply web application firewall rules that block SQL injection patterns and sanitize incoming request parameters.

Generated by OpenCVE AI on September 7, 2026 at 13:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 08 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 07 Sep 2026 09:15:00 +0000

Type Values Removed Values Added
Description A weakness has been identified in SourceCodester Online Voting System 1.0. This affects an unknown function of the file /voting/ajax.php?action=save_category. This manipulation of the argument Category causes sql injection. The attack can be initiated remotely. The exploit has been made available to the public and could be used for attacks.
Title SourceCodester Online Voting System ajax.php save_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-08T15:58:21.100Z

Reserved: 2026-09-06T15:47:14.354Z

Link: CVE-2026-86290

cve-icon Vulnrichment

Updated: 2026-09-08T15:58:18.349Z

cve-icon NVD

Status : Deferred

Published: 2026-09-07T09:17:17.650

Modified: 2026-09-08T16:18:26.703

Link: CVE-2026-86290

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-07T14:00:17Z

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