/

CVE-2026-90526

Severity:

HIGH RISK

(7.3)

SQL Injection (CWE-89) in School Registration System

CVE-2026-90526

Deferred

Vulnerability type

Category:

SQL Injection

CWE:

CWE-74, CWE-89

Impact:

Unauthorized database access and manipulation

Severity:

HIGH RISK

(7.3)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A SQL injection vulnerability in the SourceCodester School Registration and Fee System may allow an attacker to influence database queries through the Category argument processed by save_class.php. Because the issue is remotely exploitable, an unauthenticated or otherwise insufficiently restricted request could potentially access or modify database information.

Affected context

The vulnerability occurs in deployments of SourceCodester School Registration and Fee System 1.0 where the save_class.php functionality accepts a user-controlled Category value and incorporates it into a database operation without sufficiently separating data from query logic. Risk depends on the application's exposure, authentication controls, and database account privileges.

Exploit preconditions

  • Attack surface: The remotely reachable save_class.php request handler - Required access: Network access to the affected application; authentication

requirements may depend on deployment configuration

  • Trigger point: Processing of the Category argument - Why exploitation is possible: Input may influence SQL statement structure

when it is not safely parameterized or otherwise constrained

Why this happens

The underlying bug is an injection flaw in which externally supplied input is combined with a SQL statement as executable query syntax. This behavior maps primarily to CWE-89, SQL Injection, and is also related to CWE-74, Injection, because data and command language are not kept separate. The insecure pattern generally results from constructing database queries through string concatenation or equivalent untrusted query composition.

Potential impact

  • An attacker may read sensitive registration, fee, or account data.
  • An attacker could alter or delete database records.
  • An attacker may bypass application-level data restrictions.
  • An attacker could use database capabilities to affect connected systems,

depending on permissions and configuration.

General mitigation guidance

Mitigation generally centers on parameterized queries or prepared statements for all user-influenced database operations. Input validation should use allowlists and appropriate type, length, and format constraints as a secondary control rather than as a substitute for query separation. Database accounts should use least privilege, and application errors should avoid exposing query details. Secure-by-default data-access abstractions and centralized query policies can reduce the number of unsafe database access paths.

How teams detect issues like this

Detection approaches may include static analysis for SQL construction using string concatenation, interpolation, or raw query APIs; code review checks that trace request parameters into database calls; and dynamic testing with benign malformed input to identify unsafe query handling. Web application firewall or API policy rules can monitor suspicious input patterns, while database activity monitoring can flag unexpected query behavior. Automated security review tools may help identify unparameterized query paths.

Sources

SourceLink
github.comgithub.com/pangdudu24/cve/issues/2
vuldb.comvuldb.com/cve/CVE-2026-90526
vuldb.comvuldb.com/submit/912528
vuldb.comvuldb.com/vuln/403116
vuldb.comvuldb.com/vuln/403116/cti
sourcecodester.comsourcecodester.com/

Frequently asked

questions

Yes. The reported issue is remotely exploitable when the affected endpoint is

reachable and the request can influence the Category value.

Not necessarily. The required access depends on how the application exposes

save_class.php and whether authentication or network restrictions are applied.

Use parameterized queries or prepared statements and keep user-controlled values

separate from SQL syntax. Apply least privilege to the database account.

Standardize secure data-access APIs, review all request-to-query data flows,

enforce static analysis and code review policies, and monitor application and

database activity for anomalies.

Find out what's already
exploitable in your codebase.