Description
A weakness has been identified in code-projects Employee Management System 1.0. Impacted is an unknown function of the file 370project/approve.php. Executing a manipulation of the argument id/token can lead to sql injection. The attack can be executed remotely. The exploit has been made available to the public and could be used for attacks.
Published: 2026-04-27
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: SQL Injection via approve.php
Action: Apply Patch
AI Analysis

Impact

code-projects Employee Management System 1.0 contains an unknown function in the file approve.php that accepts an id or token argument without proper validation. The lack of validation allows a malicious user to construct input that is incorporated directly into a SQL statement, resulting in an injected query. This flaw falls under CWE-74 and CWE-89 and can let an attacker read or modify database contents, giving unauthorized access to employee data and potentially other sensitive information.

Affected Systems

The affected product is code-projects Employee Management System version 1.0. The specific vulnerability is related to the approve.php endpoint, which is part of the core application logic for approving employee-related actions.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, while the EPSS score of less than 1% suggests a low likelihood of widespread exploitation at this time. However, the vulnerability is publicly documented and the exploit code is available, meaning that a determined attacker could discover and use it remotely by sending crafted requests to approve.php. The flaw is not listed in the CISA KEV catalog, but its remote nature and injection capability remain significant concerns.

Generated by OpenCVE AI on April 28, 2026 at 13:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Employee Management System to the latest vendor-released version that includes the SQL injection fix.
  • Refactor the approve.php code to validate the id and token parameters strictly, allowing only expected values such as numeric identifiers.
  • Modify database access to use prepared statements or parameterized queries that separate data from code, eliminating the injection surface.
  • Optionally deploy a web application firewall to detect and block suspicious SQL injection patterns.

Generated by OpenCVE AI on April 28, 2026 at 13:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Apr 2026 01:15:00 +0000

Type Values Removed Values Added
First Time appeared Code-projects
Code-projects employee Management System
Vendors & Products Code-projects
Code-projects employee Management System

Mon, 27 Apr 2026 13:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 27 Apr 2026 11:30:00 +0000

Type Values Removed Values Added
Description A weakness has been identified in code-projects Employee Management System 1.0. Impacted is an unknown function of the file 370project/approve.php. Executing a manipulation of the argument id/token can lead to sql injection. The attack can be executed remotely. The exploit has been made available to the public and could be used for attacks.
Title code-projects Employee Management System approve.php sql injection
Weaknesses CWE-74
CWE-89
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Code-projects Employee Management System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-04-27T12:20:47.465Z

Reserved: 2026-04-26T16:01:11.933Z

Link: CVE-2026-7117

cve-icon Vulnrichment

Updated: 2026-04-27T12:20:34.249Z

cve-icon NVD

Status : Deferred

Published: 2026-04-27T12:16:25.430

Modified: 2026-04-29T01:00:01.613

Link: CVE-2026-7117

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-28T13:15:31Z

Weaknesses