CVE-2026-2087CWE-74CWE-89

SourceCodester Online Class Record System login.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

⚠️ A sneaky SQL injection vulnerability lurks in the SourceCodester Online Class Record System! Just by manipulating the `user_email` argument in `/admin/login.php`, attackers can initiate remote exploits. 🔍 Think of it like a restaurant where a diner can just say they ordered a fancy dish without ever checking the kitchen — if no one verifies the order, the wrong ingredients might be served up, and chaos could ensue! If exploited, an attacker could execute arbitrary SQL commands, potentially accessing sensitive data or even compromising the entire database. While this may not seem catastrophic, it could lead to significant data leaks and unauthorized actions within the system.

Put simply

Think of it like a restaurant where a diner can just say they ordered a fancy dish without ever checking the kitchen — if no one verifies the order, the wrong ingredients might be served up, and chaos could ensue! This vulnerability allows attackers to manipulate the `user_email` input field, leading to SQL injection in the admin login process, which can expose backend database information.

What to do

If exploited, an attacker could execute arbitrary SQL commands, potentially accessing sensitive data or even compromising the entire database. While this may not seem catastrophic, it could lead to significant data leaks and unauthorized actions within the system. To mitigate this risk, patch the system to the latest version, sanitize all user inputs, and implement prepared statements to prevent SQL injection. Regularly audit your codebase for similar vulnerabilities. You've got this! By taking action now, you can fortify your defenses and keep your system safe and sound! 🛡️

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-07T14:02Z
EPSS history
Timeline
  • 07 FEB 14:02Z
    SourceCodester Online Class Record System login.php sql injection
    cvelistv5