Description
A vulnerability was determined in SourceCodester Class and Exam Timetabling System 1.0. Affected is the function mysqli_query of the file /admin/modal_add_product.php. Executing a manipulation of the argument fname can lead to sql injection. The attack can be executed remotely. The exploit has been publicly disclosed and may be utilized.
Published: 2026-09-06
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A SQL injection flaw exists in the /admin/modal_add_product.php file of the SourceCodester Class and Exam Timetabling System 1.0. The issue is tied to the mysqli_query call that processes the fname parameter without proper sanitization, allowing an attacker to inject arbitrary SQL statements. Successful exploitation can let the attacker read sensitive data, modify or delete database content, and potentially compromise the integrity and confidentiality of the system’s information. The weakness aligns with CWE-89, indicative of an injection vulnerability.

Affected Systems

The vulnerability affects sourcecodester:Class and Exam Timetabling System version 1.0. No other vendors or products are listed as impacted.

Risk and Exploitability

The CVSS score of 6.9 places the issue in the moderate‑to‑high severity range. Although EPSS data is not provided, the vulnerability has a publicly disclosed exploit and can be triggered remotely, implying a realistic risk to any exposed instance of the application. Since the system is an administrative module, making it directly reachable could allow both authenticated and unauthenticated attackers to leverage the flaw. The lack of a KEV listing does not diminish its potential impact because the exploit mechanics are straightforward: construct a malicious fname value and submit it via the vulnerable endpoint.

Generated by OpenCVE AI on September 6, 2026 at 22:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the vendor’s patch or upgrade to the latest release of SourceCodester Class and Exam Timetabling System that resolves the unsanitized query handling.
  • Modify the code to use prepared statements or properly escape the fname input so that it cannot influence SQL syntax.
  • Restrict access to the /admin/modal_add_product.php endpoint to authenticated administrators only, enforcing least‑privilege principles and audit logging to detect unauthorized attempts.

Generated by OpenCVE AI on September 6, 2026 at 22:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 06 Sep 2026 21:15:00 +0000

Type Values Removed Values Added
Description A vulnerability was determined in SourceCodester Class and Exam Timetabling System 1.0. Affected is the function mysqli_query of the file /admin/modal_add_product.php. Executing a manipulation of the argument fname can lead to sql injection. The attack can be executed remotely. The exploit has been publicly disclosed and may be utilized.
Title SourceCodester Class and Exam Timetabling System modal_add_product.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-06T21:00:11.247Z

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

Link: CVE-2026-86224

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-06T21:17:22.567

Modified: 2026-09-06T21:17:22.567

Link: CVE-2026-86224

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-06T23:00:07Z

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