/

CVE-2026-124331

Severity:

HIGH RISK

(7.3)

SQL Injection (CWE-89) in Jinher OA C6 ProjectAfficheManage

CVE-2026-124331

Deferred

Vulnerability type

Category:

SQL Injection

CWE:

CWE-74, CWE-89

Impact:

Potential unauthorized database access or modification

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

Jinher OA C6 has a reported SQL injection vulnerability in the ProjectAfficheManage.aspx endpoint involving the ProjID argument. If the endpoint incorporates attacker-controlled input into a database query without safe handling, a remote attacker may be able to affect database operations.

Affected context

The reported issue concerns /C6/JHSoft.Web.Project/OfficeReadOnly/ProjectAfficheManage.aspx in Jinher OA C6. The risk arises if the endpoint uses the ProjID argument in SQL statements without parameterization or equivalent safe query handling. The description does not specify whether authentication is required or what database privileges are available to the application.

Exploit preconditions

  • Attack surface: The affected web endpoint is described as remotely reachable.
  • Required access: The description does not establish whether authentication or a particular account is required.
  • Trigger point: Processing of the ProjID argument by the endpoint.
  • Why exploitation may be possible: If this value is incorporated into SQL as query syntax rather than treated strictly as data, input may alter the intended database operation.

Why this happens

The reported weakness is SQL injection, classified as CWE-89. It occurs when application code constructs or executes SQL using untrusted input without reliably separating data from query instructions. CWE-74 is also associated with the report and broadly describes improper neutralization of special elements in output used by another component.

Potential impact

  • An attacker may be able to access database information beyond the intended scope.
  • Database records could be modified or deleted, depending on query behavior and database permissions.
  • Application functionality or data integrity could be disrupted.
  • Data exposed through the database could create further risks for users or the organization.

General mitigation guidance

Common defensive patterns for SQL injection include:

  • Use parameterized queries or prepared statements so input is handled as data, not SQL syntax.
  • Avoid building SQL statements through string concatenation with request values.
  • Validate inputs against the expected type and format, while treating validation as an additional safeguard rather than a substitute for parameterization.
  • Apply least-privilege permissions to database accounts and limit access to necessary records and operations.
  • Use secure-by-default data-access abstractions that make parameter binding the normal path.

How teams detect issues like this

  • Use static analysis to identify SQL execution paths that combine query strings with request-controlled values.
  • Review the endpoint's handling of ProjID and trace how the value reaches database calls.
  • Add code-review checks for string-built SQL and require parameter binding in data-access policies.
  • Use authorized security testing and monitoring to identify suspicious database errors or anomalous query behavior.
  • Automated code review tools may help flag risky query construction patterns.

Sources

SourceLink
github.comgithub.com/wangpenglei11/Submit/issues/2
vuldb.comvuldb.com/cve/CVE-2026-124331
vuldb.comvuldb.com/submit/1028013
vuldb.comvuldb.com/vuln/432651
vuldb.comvuldb.com/vuln/432651/cti

Frequently asked

questions

The report describes the affected endpoint as remotely reachable. Whether exploitation requires authentication is not specified.

The available description does not establish an access requirement. Exposure of the endpoint and any authentication or authorization controls affect the practical scope.

Use parameterized queries or prepared statements, and ensure database permissions are limited to the operations the application needs.

Prefer data-access APIs that bind parameters by default, review query construction for untrusted input, and enforce secure SQL handling through code review and static analysis.

Find out what's already
exploitable in your codebase.