CVE-2026-2089CWE-74CWE-89

SourceCodester Online Class Record System controller.php sql injection

Medium · published February 7, 2026

CVSS v4.0
6.9
EPSS
0%
Percentile
28.9
In the wild
Unconfirmed
What it is

⚠️ Hold tight! A sneaky SQL injection is lurking in the SourceCodester Online Class Record System 1.0 that can be triggered with a simple argument manipulation! Think of this vulnerability like a diner who can change their order at the last minute because the staff never double-checks the ticket. If the wrong ID is provided, the database might serve up some unauthorized data instead of the intended dish! An attacker could potentially pull sensitive information straight from your database, modify records, or even erase crucial data. While the severity is medium, the implications could still lead to serious headaches for your class records and student data integrity!

Put simply

Think of this vulnerability like a diner who can change their order at the last minute because the staff never double-checks the ticket. If the wrong ID is provided, the database might serve up some unauthorized data instead of the intended dish! This SQL injection vulnerability occurs in the '/admin/subject/controller.php' file, where an attacker can manipulate the 'ID' parameter to execute arbitrary SQL queries, allowing unauthorized database access.

What to do

An attacker could potentially pull sensitive information straight from your database, modify records, or even erase crucial data. While the severity is medium, the implications could still lead to serious headaches for your class records and student data integrity! To safeguard against this, update to the latest version of SourceCodester and implement prepared statements to ensure queries are handled securely. Also, consider conducting a thorough code review of any input handling to identify other potential vulnerabilities. You've got this! Follow these steps, secure your system, and keep those class records safe! 🛡️

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
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
EPSS
0.00363 · 28.9th percentile
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')
Published
2026-02-07T15:02Z
EPSS history
Timeline
  • 07 FEB 15:02Z
    SourceCodester Online Class Record System controller.php sql injection
    cvelistv5