Skip to main content
CVE-2026-2158VulnerabilityPublished Updated

CVE-2026-2158: code-projects Student Web Portal · SQL Injection

Affects code-projects Student Web PortalSource CVE Database V5

0

Not known to be exploited · CVSS 6.9 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
code-projectsStudent Web PortalAffected
  • =1.0
Fixed in–

AI-suggested

To mitigate CVE-2026-2158, organizations should immediately review and update the /check_user.php script to implement strict input validation and sanitization for the Username parameter. The preferred approach is to refactor the code to use parameterized queries or prepared statements to prevent SQL injection. If source code modification is not immediately feasible, deploying a web application firewall (WAF) with rules to detect and block SQL injection attempts targeting the Username parameter can provide temporary protection. Additionally, organizations should conduct thorough security assessments of the Student Web Portal and related systems, monitor database logs for suspicious queries, and restrict external access to the portal where possible. Regular backups of the database should be maintained to enable recovery in case of data tampering. Finally, organizations should track vendor updates or patches and apply them promptly once available.

Description

A vulnerability was detected in code-projects Student Web Portal 1.0. This impacts an unknown function of the file /check_user.php. Performing a manipulation of the argument Username results in sql injection. It is possible to initiate the attack remotely.

References

Community reviews

Loading reviews…