Description
A flaw has been found in SourceCodester Class and Exam Timetabling System 1.0. The impacted element is the function mysqli_query of the file /admin/modal_add_course1.php. This manipulation of the argument course causes sql injection. The attack may be initiated remotely. The exploit has been published and may 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 vulnerability occurs in SourceCodester Class and Exam Timetabling System 1.0 where the "course" parameter passed to mysqli_query in admin/modal_add_course1.php is not sanitized. This allows an attacker to inject arbitrary SQL statements, giving the ability to read, modify or delete data from the underlying database. The flaw is rooted in improper input handling (CWE-74) and the lack of parameterization (CWE-89), potentially compromising confidentiality, integrity, and availability of the scheduling data.

Affected Systems

SourceCodester offers the Class and Exam Timetabling System version 1.0. The flaw resides in the admin component used for adding courses via the modal interface. No other product or version details are provided by the CNA.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate severity. The description states that the attack may be initiated remotely, and the exploit has been published. Because the application is a web-based scheduling system accessed via HTTP/HTTPS, the likely attack vector is through crafted HTTP requests to the admin/modal_add_course1.php endpoint. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog. If exploited, an attacker could gain unauthorized database access, potentially exfiltrating sensitive scheduling information or modifying exam records.

Generated by OpenCVE AI on September 6, 2026 at 19:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply any available patch or upgrade to a version of SourceCodester Class and Exam Timetabling System that addresses the SQL injection vulnerability.
  • Refactor the code to use prepared statements or bind parameters when invoking mysqli_query with user-supplied data.
  • Restrict the database user privileges to the minimum necessary for the application, preventing access to unrelated tables.
  • Limit access to the admin interface, for example by IP whitelisting or VPN, to reduce the exposed surface.

Generated by OpenCVE AI on September 6, 2026 at 19:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 06 Sep 2026 18:30:00 +0000

Type Values Removed Values Added
Description A flaw has been found in SourceCodester Class and Exam Timetabling System 1.0. The impacted element is the function mysqli_query of the file /admin/modal_add_course1.php. This manipulation of the argument course causes sql injection. The attack may be initiated remotely. The exploit has been published and may be used.
Title SourceCodester Class and Exam Timetabling System modal_add_course1.php mysqli_query sql injection
First Time appeared Sourcecodester
Sourcecodester class And Exam Timetabling System
Weaknesses CWE-74
CWE-89
CPEs cpe:2.3:a:sourcecodester:class_and_exam_timetabling_system:*:*:*:*:*:*:*:*
Vendors & Products Sourcecodester
Sourcecodester class And Exam Timetabling 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 Class And Exam Timetabling System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-09-06T18:15:11.249Z

Reserved: 2026-09-06T03:57:46.177Z

Link: CVE-2026-86221

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-06T19:17:27.943

Modified: 2026-09-06T19:17:27.943

Link: CVE-2026-86221

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-06T20:00:06Z

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