HIGH 7.3

CVE-2026-13521: SQL Injection in SourceCodester Timetabling System 1.0

A SQL injection vulnerability exists in SourceCodester's Class and Exam Timetabling System version 1.0, specifically in the /preview5.php file. An attacker can manipulate the 'course_year_section' parameter to inject malicious SQL commands without needing authentication. The vulnerability allows remote exploitation and poses a meaningful risk to confidentiality, integrity, and availability of affected systems. Exploit code is already publicly available.

Source data · NVD / CISA · public domain

CVSS
3.1 · 7.3 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weaknesses (CWE)
CWE-74, CWE-89
Affected products
0 configuration(s)
Published / Modified
2026-06-29 / 2026-06-29

NVD description (verbatim)

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.

6 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2026-13521 is a remote SQL injection flaw affecting SourceCodester Class and Exam Timetabling System 1.0 in the /preview5.php endpoint. The vulnerable parameter 'course_year_section' fails to properly sanitize or parameterize user input before incorporating it into SQL queries. This maps to CWE-74 (Improper Neutralization of Special Elements in Output) and CWE-89 (SQL Injection), allowing an unauthenticated network attacker to execute arbitrary SQL commands. The CVSS 3.1 score of 7.3 (HIGH) reflects low attack complexity, no privileges required, no user interaction, and impacts to all three security pillars: confidentiality (data disclosure), integrity (data modification), and availability (denial of service).

Business impact

Organizations using SourceCodester's timetabling system face exposure of sensitive educational records, including student information, course schedules, and examiner assignments. Attackers could modify exam dates or student grades, disrupting academic operations. In educational institutions managing admissions or enrollment data, a successful exploitation could lead to regulatory compliance violations (FERPA in the US, GDPR in Europe) and reputational damage. The public availability of exploit code significantly increases the likelihood of opportunistic attacks.

Affected systems

SourceCodester Class and Exam Timetabling System version 1.0 is confirmed vulnerable. Organizations should verify whether deployed instances match this version. The vulnerability affects the /preview5.php file specifically, though a complete audit of similar files in the codebase is recommended to identify related injection points.

Exploitability

This vulnerability scores high on exploitability due to multiple factors: network accessibility (no VPN or special access required), no authentication prerequisite, no user interaction needed, and straightforward SQL injection techniques. Public exploit availability removes the barrier to entry for non-sophisticated attackers. Anyone with network access to the application can craft a malicious request to the vulnerable endpoint.

Remediation

Immediate actions: disable or restrict access to /preview5.php if it is not critical to operations; implement Web Application Firewall (WAF) rules to detect and block SQL injection patterns in the course_year_section parameter. Long-term: upgrade to a patched version if available from SourceCodester (verify against the vendor advisory for the current secure release), or migrate to a maintained alternative timetabling platform. All input validation must use parameterized queries or prepared statements; input blacklisting alone is insufficient for SQL injection defense.

Patch guidance

Check the SourceCodester vendor advisory directly for the recommended patched version. Given the public exploit availability and HIGH severity, patching should be prioritized within 48–72 hours of vendor release. If SourceCodester has ceased maintenance of version 1.0, migration to a supported product is the only remediation path. Document the patching timeline and communicate it to stakeholders managing the affected system.

Detection guidance

Monitor web server logs for HTTP requests to /preview5.php containing SQL metacharacters (single quotes, semicolons, UNION, SELECT, DROP) in the course_year_section parameter. Deploy database activity monitoring (DAM) to detect unusual SQL query patterns or failed authentication attempts following the injection. Check error logs for SQL syntax errors, which often appear when injection attempts are blocked by input filters. Endpoint Detection and Response (EDR) tools should flag command execution spawned from the web application process.

Why prioritize this

This vulnerability merits immediate patching priority due to: (1) HIGH CVSS score reflecting multi-faceted impact, (2) zero authentication requirement lowering attacker barriers, (3) public exploit availability enabling mass scanning, (4) direct access to sensitive educational and personal data, and (5) potential for regulatory non-compliance. Educational institutions processing student data under FERPA or GDPR obligations face additional legal exposure.

Risk score, explained

The CVSS 3.1 score of 7.3 (HIGH) is driven by the combination of remote network accessibility, low attack complexity, absence of required privileges or user interaction, and broad impact across confidentiality, integrity, and availability. The score does not account for public exploit availability or the criticality of data typically stored in timetabling systems—factors that elevate practical risk beyond the base score.

Frequently asked questions

Does this vulnerability require authentication to exploit?

No. The vulnerability can be exploited remotely without any credentials. An attacker only needs network access to the /preview5.php endpoint.

What data could be compromised?

Attackers can read, modify, or delete data stored in the underlying database. In an educational context, this includes student records, exam schedules, grades, course rosters, and potentially personal identifiable information (PII). The scope depends on database permissions assigned to the web application.

Is SourceCodester Class and Exam Timetabling System still maintained?

Verify the current maintenance status with SourceCodester directly. Version 1.0 may no longer receive updates. If the vendor has stopped supporting this version, migration to a maintained scheduling platform is the only reliable remediation.

What is the first step if we use this software?

Immediately identify all running instances of version 1.0 and isolate them from untrusted networks if possible. Check vendor advisories for a patched release. If no patch is available and the system is critical, implement WAF rules blocking SQL injection patterns and enable comprehensive audit logging while planning migration.

This analysis is provided for informational purposes and should not be construed as legal or compliance advice. Organizations are responsible for assessing the applicability of this vulnerability to their specific environment and for verifying patch availability directly with SourceCodester. SEC.co makes no warranty regarding the completeness or accuracy of this intelligence and recommends consulting vendor advisories and security documentation before deploying any remediation. If you operate systems under regulatory obligations (FERPA, GDPR, HIPAA, etc.), consult your legal and compliance teams regarding breach notification and disclosure timelines. Source: NVD (public-domain), retrieved 2026-08-07. Analysis generated by SEC.co (claude-haiku-4-5).