CVE-2026-86290

SourceCodester Online Voting System ajax.php save_category sql injection

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

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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

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, 3:58 PM
Reserved
Sep 6, 2026, 3:47 PM
Status
Deferred
Published
Sep 7, 2026, 9:17 AM
Modified
Sep 8, 2026, 4:18 PM