Description
A vulnerability was identified in SourceCodester Class and Exam Timetabling System 1.0. Affected by this vulnerability is the function mysqli_query of the file /admin/modal_add_room.php. The manipulation of the argument room_name leads to sql injection. The attack is possible to be carried out remotely. The exploit is publicly available and might be used.
Published: 2026-09-06
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the modal_add_room.php function allows an attacker to manipulate the room_name argument and inject arbitrary SQL statements via the mysqli_query call. This creates a remote SQL injection vulnerability that can compromise the integrity and confidentiality of the underlying database, potentially permitting unauthorized data disclosure, modification, or even deletion. The weakness is identified as a classic SQL injection (CWE-89) with input handling issues (CWE-74).

Affected Systems

The vulnerability affects SourceCodester Class and Exam Timetabling System version 1.0, specifically the /admin/modal_add_room.php module used for adding rooms. This module is accessible through the system’s administrative interface.

Risk and Exploitability

With a CVSS score of 6.9, the vulnerability is considered high severity. Although its EPSS score is not provided, the description states that public exploits are available, indicating a non‑negligible likelihood of exploitation. The attack is possible to be carried out remotely via crafted HTTP requests targeting the room_name parameter. Because the vulnerability pertains to an administrative function, the impact can be significant even if authentication is required. The vulnerability is not currently listed in CISA’s KEV catalog.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Acquire and apply the latest SourceCodester release or patch that resolves the SQL injection in modal_add_room.php.
  • If no patch exists, modify the code to use prepared statements or properly escape user input before concatenation into SQL queries.
  • Limit the database privileges granted to the application’s database user to only those necessary for normal operation, reducing the potential damage if the injection succeeds.

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:30:00 +0000

Type Values Removed Values Added
Description A vulnerability was identified in SourceCodester Class and Exam Timetabling System 1.0. Affected by this vulnerability is the function mysqli_query of the file /admin/modal_add_room.php. The manipulation of the argument room_name leads to sql injection. The attack is possible to be carried out remotely. The exploit is publicly available and might be used.
Title SourceCodester Class and Exam Timetabling System modal_add_room.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:15:09.220Z

Reserved: 2026-09-06T03:58:00.477Z

Link: CVE-2026-86225

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-06T22:17:20.507

Modified: 2026-09-06T22:17:20.507

Link: CVE-2026-86225

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-06T22:30:04Z

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