CVE-2026-16227

SourceCodester Class and Exam Timetabling System edit_subject.php sql injection

Published Jul 19, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
A security vulnerability has been detected in SourceCodester Class and Exam Timetabling System 1.0. This impacts an unknown function of the file /edit_subject.php. Such manipulation of the argument ID leads to sql injection. The attack may be performed from remote. The exploit has been disclosed publicly and may be used.

Analysis

AI-generated

Technical impact

The vulnerability resides in the edit_subject.php component of SourceCodester Class and Exam Timetabling System. By manipulating the ID argument, an attacker can cause the application to execute arbitrary SQL because user-supplied input is directly incorporated into a database query. The CVE identifies this as a classic parameter injection (CWE-74) and an SQL injection (CWE-89). The description does not detail the precise consequences, but the flaw permits an attacker to inject and execute arbitrary SQL statements against the database.

Affected Systems

SourceCodester Class and Exam Timetabling System version 1.0 is affected. No additional affected versions are enumerated in the CNA data.

Risk and Exploitability

The CVSS score of 6.9 denotes a medium severity risk. The EPSS score is below 1 %, indicating a very low current exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is remote, meaning a threat actor could potentially trigger the injection from any external location without local access. Exploitation requires sending a crafted request to the edit_subject.php endpoint with a malicious ID value; the application fails to properly validate or sanitize this input prior to use in a database query.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor-supplied patch or upgrade to the latest released version of the Class and Exam Timetabling System.
  • Implement input validation and type checking for the ID parameter, ensuring it is numeric and within expected bounds before incorporating it into SQL queries.
  • Configure the application to use parameterized queries or prepared statements for all database interactions involving user-supplied values.

Generated by OpenCVE AI on July 30, 2026 at 22:38 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 security vulnerability has been detected in SourceCodester Class and Exam Timetabling System 1.0. This impacts an unknown function of the file /edit_subject.php. Such manipulation of the argument ID leads to sql injection. The attack may be performed from remote. The exploit has been disclosed publicly and may be used.
Title SourceCodester Class and Exam Timetabling System edit_subject.php 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
Jul 22, 2026, 2:39 PM
Reserved
Jul 18, 2026, 12:33 PM
Status
Deferred
Published
Jul 19, 2026, 10:16 AM
Modified
Oct 24, 2026, 8:10 PM