CVE-2026-2158CWE-74CWE-89

code-projects Student Web Portal check_user.php sql injection

Medium · published February 8, 2026

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

⚠️ Watch out for this sneaky SQL injection lurking in the Student Web Portal v1.0! Just a little tweak to the Username parameter can let attackers access sensitive data remotely. 🔍 Think of this like a restaurant where the waiter takes orders but also has access to the kitchen. If someone sends a clever note instead of a legitimate order, they could get a behind-the-scenes look at the chef's secrets – and we all know what kind of chaos that could create! An attacker could exploit this vulnerability to execute arbitrary SQL queries against the database. This means they could view, modify, or even delete user data without proper authorization. Not the kind of dinner guest you want!

Put simply

Think of this like a restaurant where the waiter takes orders but also has access to the kitchen. If someone sends a clever note instead of a legitimate order, they could get a behind-the-scenes look at the chef's secrets – and we all know what kind of chaos that could create! The vulnerability arises in the /check_user.php file, where improper handling of the Username argument allows SQL injection. This lets attackers manipulate the database queries, leading to unauthorized data access.

What to do

An attacker could exploit this vulnerability to execute arbitrary SQL queries against the database. This means they could view, modify, or even delete user data without proper authorization. Not the kind of dinner guest you want! To protect your web portal, patch to the latest version as soon as possible. Additionally, implement prepared statements in your SQL queries to prevent injection attacks. Regularly audit your code for similar vulnerabilities to stay one step ahead! You've got this! With these steps, your web portal will be safer in no time. 🛡️

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:X
EPSS
0.00431 · 36.2th 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-08T15:02Z
EPSS history
Timeline
  • 08 FEB 15:02Z
    code-projects Student Web Portal check_user.php sql injection
    cvelistv5