CVE-2026-13566

SourceCodester Class and Exam Timetabling System preview3.php sql injection

Published Jun 29, 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 issue is some unknown functionality of the file /preview3.php. The manipulation of the argument course_year_section leads to sql injection. The attack may be initiated remotely. The exploit is publicly available and might be used.

Analysis

AI-generated

Technical impact

A vulnerability in the Class and Exam Timetabling System allows manipulation of the course_year_section parameter in preview3.php to inject arbitrary SQL. This flaw can enable an attacker to read, modify or delete data in the underlying database, potentially exposing sensitive academic records or altering timetables. The exploit is remote and the publicly available code suggests that an unauthenticated request can trigger the injection, creating a significant confidentiality risk.

Affected Systems

SourceCodester Class and Exam Timetabling System version 1.0 is affected. The issue resides in the preview3.php script which processes the course_year_section argument. No other versions or components were identified as vulnerable in the provided data.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate level of severity. EPSS data is not available, so the exploitation probability is unknown, but the presence of publicly available exploit code implies a tangible threat. The vulnerability is not listed in CISA’s KEV catalog. Attackers would likely target the web interface remotely, sending crafted requests to the preview3.php endpoint to achieve injection.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • If a vendor patch is available, apply it immediately to fix the SQL injection issue.
  • If no patch exists, restrict access to preview3.php by requiring authentication or limiting the IP address range that can reach it.
  • Sanitize the course_year_section parameter by using prepared statements or parameterized queries to prevent SQL injection.
  • Deploy a web application firewall configured to block typical SQL injection patterns targeting the preview3.php endpoint.

Generated by OpenCVE AI on June 29, 2026 at 14:22 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 issue is some unknown functionality of the file /preview3.php. The manipulation of the argument course_year_section leads to sql injection. The attack may be initiated remotely. The exploit is publicly available and might be used.
Title SourceCodester Class and Exam Timetabling System preview3.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
Jun 30, 2026, 3:44 PM
Reserved
Jun 28, 2026, 4:15 PM
Status
Deferred
Published
Jun 29, 2026, 2:16 PM
Modified
Oct 25, 2026, 9:10 PM