/

CVE-2026-112141

Severity:

HIGH RISK

(7.3)

SQL Injection (CWE-89) in Events-Management-System

CVE-2026-112141

Deferred

Vulnerability type

Category:

SQL Injection

CWE:

CWE-74, CWE-89

Impact:

Database compromise and unauthorized data access

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 Registration-Edit Handler of Events-Management-System may allow attacker-controlled input to alter database queries. Remote exploitation may be possible when the affected editing endpoint is reachable and does not safely parameterize submitted values.

A SQL injection vulnerability in the Registration-Edit Handler of Events-Management-System may allow attacker-controlled input to alter database queries. Remote exploitation may be possible when the affected editing endpoint is reachable and does not safely parameterize submitted values.

Affected context

The issue occurs in the doedit.php registration-edit workflow, where values such as id, name, title, year, gender, fromdate, todate, and people are passed to mysqli_query. Deployments may be at risk when this handler is remotely accessible and user-controlled values reach database queries without effective parameterization or validation.

The issue occurs in the doedit.php registration-edit workflow, where values such as id, name, title, year, gender, fromdate, todate, and people are passed to mysqli_query. Deployments may be at risk when this handler is remotely accessible and user-controlled values reach database queries without effective parameterization or validation.

Exploit preconditions

  • Attack surface: The remotely reachable registration-edit handler in doedit.php
  • Required access: Ability to submit requests to the affected endpoint; authentication requirements depend on deployment configuration
  • Trigger point: Processing of registration-edit parameters by mysqli_query
  • Why exploitation is possible: Input values may influence SQL query construction instead of being treated strictly as data
  • Attack surface: The remotely reachable registration-edit handler in doedit.php
  • Required access: Ability to submit requests to the affected endpoint; authentication requirements depend on deployment configuration
  • Trigger point: Processing of registration-edit parameters by mysqli_query
  • Why exploitation is possible: Input values may influence SQL query construction instead of being treated strictly as data

Why this happens

The underlying flaw is insufficient separation between application data and SQL command structure. When request parameters are concatenated into database queries or otherwise interpreted as query syntax, an attacker may be able to alter the intended operation. This maps primarily to CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection) and is also related to CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component.

The underlying flaw is insufficient separation between application data and SQL command structure. When request parameters are concatenated into database queries or otherwise interpreted as query syntax, an attacker may be able to alter the intended operation. This maps primarily to CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection) and is also related to CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component.

Potential impact

  • An attacker may read or modify application data
  • Database records could be altered or deleted
  • Confidential information may be exposed
  • Authentication or authorization data could be affected
  • The database service or connected application may experience disruption
  • An attacker may read or modify application data
  • Database records could be altered or deleted
  • Confidential information may be exposed
  • Authentication or authorization data could be affected
  • The database service or connected application may experience disruption

General mitigation guidance

Mitigation generally focuses on ensuring that database commands cannot be reshaped by request data.

Common defensive patterns include:

  • Using parameterized queries or prepared statements for every database operation
  • Applying context-appropriate allowlist validation to expected fields and data types
  • Treating all request parameters as untrusted, including values associated with edit forms
  • Limiting the database account to the minimum permissions required by the application
  • Separating database error details from responses exposed to users
  • Enforcing centralized input-handling and database-access policies across similar endpoints

Mitigation generally focuses on ensuring that database commands cannot be reshaped by request data.

Common defensive patterns include:

  • Using parameterized queries or prepared statements for every database operation
  • Applying context-appropriate allowlist validation to expected fields and data types
  • Treating all request parameters as untrusted, including values associated with edit forms
  • Limiting the database account to the minimum permissions required by the application
  • Separating database error details from responses exposed to users
  • Enforcing centralized input-handling and database-access policies across similar endpoints

How teams detect issues like this

Organizations can look for SQL injection risks through:

  • Static analysis rules identifying string concatenation or interpolation in SQL calls
  • Code review checks for direct use of request parameters in mysqli_query or equivalent APIs
  • Dynamic testing that uses non-destructive input variations and observes query errors or unexpected behavior
  • Web-application firewall or gateway policies monitoring anomalous database-oriented request patterns
  • Database audit logging for unexpected statements, access patterns, or modifications from the application account
  • Automated review tools that flag unparameterized database queries during pull-request checks

Organizations can look for SQL injection risks through:

  • Static analysis rules identifying string concatenation or interpolation in SQL calls
  • Code review checks for direct use of request parameters in mysqli_query or equivalent APIs
  • Dynamic testing that uses non-destructive input variations and observes query errors or unexpected behavior
  • Web-application firewall or gateway policies monitoring anomalous database-oriented request patterns
  • Database audit logging for unexpected statements, access patterns, or modifications from the application account
  • Automated review tools that flag unparameterized database queries during pull-request checks

Sources

SourceLink
github.comgithub.com/satya-vinay/Events-Management-System/
github.comgithub.com/satya-vinay/Events-Management-System/issues/2
vuldb.comvuldb.com/cve/CVE-2026-112141
vuldb.comvuldb.com/submit/1013207
vuldb.comvuldb.com/vuln/422246
vuldb.comvuldb.com/vuln/422246/cti

Frequently asked

questions

The disclosure indicates that remote exploitation may be possible when the registration-edit handler is reachable and accepts attacker-influenced parameters.

Not necessarily. The required access depends on how the application exposes the edit workflow and whether authentication or authorization controls protect it.

Use parameterized queries or prepared statements, validate values according to their expected types and ranges, and avoid constructing SQL commands from request strings.

Apply secure database-access standards consistently, review all request-to-query data flows, enforce least-privilege database accounts, and include SQL injection testing in development and deployment checks.

The disclosure indicates that remote exploitation may be possible when the registration-edit handler is reachable and accepts attacker-influenced parameters.

Not necessarily. The required access depends on how the application exposes the edit workflow and whether authentication or authorization controls protect it.

Use parameterized queries or prepared statements, validate values according to their expected types and ranges, and avoid constructing SQL commands from request strings.

Apply secure database-access standards consistently, review all request-to-query data flows, enforce least-privilege database accounts, and include SQL injection testing in development and deployment checks.

Find out what's already
exploitable in your codebase.