Description
A vulnerability was identified in SourceCodester Class and Exam Timetabling System 1.0/5.php. Affected by this vulnerability is an unknown functionality of the file /preview5.php. Such manipulation of the argument course_year_section leads to sql injection. The attack may be performed from remote. The exploit is publicly available and might be used.
Published: 2026-06-29
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A vulnerability exists in the preview5.php script of SourceCodester Class and Exam Timetabling System that allows an attacker to inject arbitrary SQL commands via the course_year_section parameter. This flaw is a combination of insecure handling of input (CWE-74) and classic SQL injection (CWE-89). If triggered, an attacker can read, alter, or delete data stored in the underlying database and potentially gain broader control over the application data layer, leading to confidentiality and integrity compromise.

Affected Systems

The affected product is SourceCodester Class and Exam Timetabling System, version 1.0. The flaw resides in the preview5.php page, which is publicly accessible and part of the default system installation. No other vendors or products are currently reported to be impacted.

Risk and Exploitability

The CVSS score of 6.9 denotes moderate to high severity, and the publicly available exploit indicates that the attack can be carried out remotely without special prerequisites. Although the EPSS score is not disclosed, the lack of a KEV listing does not diminish the likelihood of exploitation; attackers often target exposed SQL injection points. In a typical scenario, a remote attacker can easily submit a crafted request and extract sensitive information or modify database records, posing a significant risk to businesses relying on this platform.

Generated by OpenCVE AI on June 29, 2026 at 02:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest patch released by SourceCodester for the Class and Exam Timetabling System that resolves the preview5.php SQL injection flaw.
  • Restrict the course_year_section parameter to allow only expected values and enforce strict input validation before it is used in SQL queries.
  • Ensure that database queries are executed using prepared statements or parameterized queries so that user input cannot alter statement structure.

Generated by OpenCVE AI on June 29, 2026 at 02:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 29 Jun 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 29 Jun 2026 01:30:00 +0000

Type Values Removed Values Added
Description A vulnerability was identified in SourceCodester Class and Exam Timetabling System 1.0/5.php. Affected by this vulnerability is an unknown functionality of the file /preview5.php. Such manipulation of the argument course_year_section leads to sql injection. The attack may be performed from remote. The exploit is publicly available and might be used.
Title SourceCodester Class and Exam Timetabling System preview5.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'}


Subscriptions

Sourcecodester Class And Exam Timetabling System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-06-29T14:53:03.298Z

Reserved: 2026-06-28T07:41:29.199Z

Link: CVE-2026-13521

cve-icon Vulnrichment

Updated: 2026-06-29T13:36:42.631Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-29T06: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')