CVE-2026-86225

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

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

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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

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, 5:44 PM
Reserved
Sep 6, 2026, 3:58 AM
Status
Deferred
Published
Sep 6, 2026, 10:17 PM
Modified
Sep 8, 2026, 6:21 PM