CVE-2026-16227
Received Received - Intake

SQL Injection in Class and Exam Timetabling System

Vulnerability report for CVE-2026-16227, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-19

Last updated on: 2026-07-19

Assigner: VulDB

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-19
Last Modified
2026-07-19
Generated
2026-07-20
AI Q&A
2026-07-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
sourcecodester class_and_exam_timetabling_system 1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a SQL injection flaw in SourceCodester Class and Exam Timetabling System 1.0. It exists in the /edit_subject.php file where the 'ID' parameter is not properly validated. Attackers can inject malicious SQL code through this parameter to manipulate the database without authentication.

Detection Guidance

To detect this SQL injection vulnerability in the Class and Exam Timetabling System, you can use tools like SQLmap to test the /edit_subject.php endpoint for SQL injection flaws. Example command: sqlmap -u "http://target-site/edit_subject.php?id=1" --batch. You can also manually test with payloads like ' OR 1=1 -- or by sending requests with varying id values to observe database errors or unexpected responses.

  • Use automated tools such as SQLmap to scan for SQL injection vulnerabilities in the /edit_subject.php file.
  • Manually test by injecting SQL payloads into the 'id' parameter and monitor for errors or unusual behavior.
Impact Analysis

An attacker could exploit this to access, modify, or delete sensitive data in the database. This may lead to unauthorized data exposure, data corruption, or complete system compromise. Attackers could also use it to bypass authentication or execute administrative operations.

Compliance Impact

This vulnerability likely violates compliance requirements for data protection standards like GDPR and HIPAA, which mandate strict controls to prevent unauthorized data access or leaks. Exploitation could result in data breaches, leading to legal penalties and reputational damage.

Mitigation Strategies

Immediately implement prepared statements with parameter binding for all database queries involving user input. Validate and sanitize all inputs, especially the 'id' parameter in /edit_subject.php. Restrict database user permissions to the minimum required. Conduct a security audit to identify other potential vulnerabilities.

  • Apply prepared statements with parameter binding to prevent SQL injection in the 'id' parameter.
  • Enforce strict input validation and sanitization for all user-supplied data.
  • Limit database user permissions to reduce potential damage from exploitation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-16227. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart