CVE-2026-86221

SourceCodester Class and Exam Timetabling System modal_add_course1.php mysqli_query sql injection

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

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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

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