CVE-2026-4836

code-projects Accounting System delete.php sql injection

Published Mar 26, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
A vulnerability was detected in code-projects Accounting System 1.0. The affected element is an unknown function of the file /my_account/delete.php. Performing a manipulation of the argument cos_id results in sql injection. It is possible to initiate the attack remotely. The exploit is now public and may be used.

Analysis

AI-generated

Technical impact

An unchecked parameter named cos_id in the delete.php file allows an attacker to inject arbitrary SQL statements. The malicious input is inserted directly into a database query without sanitization or parameter binding, putting the system at risk of data theft, modification or deletion. The vulnerability is classified as both a classic SQL injection (CWE-89) and an unsafe construction of database queries (CWE-74).

Affected Systems

The issue exists in the code‑projects Accounting System version 1.0. No additional releases or product variants are listed as affected, and the problem is tied specifically to the delete.php endpoint.

Risk and Exploitability

The CVSS‑Base score of 5.3 indicates medium severity, reflecting that the flaw does not grant immediate code execution or widespread privilege escalation but does expose critical financial data. An exploit is currently public and can be triggered via an HTTP request from outside the network. No exploit‑probability score is available, and the vulnerability is not listed in the known‑exploited‑vulnerabilities catalog, suggesting limited widespread attention. The attack path requires access to the delete.php resource and the ability to supply a crafted cos_id value; no special credentials are needed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply any vendor‑supplied patch or upgrade to a fixed release of the Accounting System
  • If a patch is unavailable, refactor delete.php to use prepared statements and validate cos_id as a numeric identifier
  • Restrict access to delete.php so that only authenticated users with appropriate authorization can invoke it
  • Monitor server logs for requests containing SQL meta‑characters and block offending IP addresses

Generated by OpenCVE AI on March 26, 2026 at 04:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Code-projects
Code-projects accounting System
Vendors & Products Code-projects
Code-projects accounting System
Type Values Removed Values Added
Description A vulnerability was detected in code-projects Accounting System 1.0. The affected element is an unknown function of the file /my_account/delete.php. Performing a manipulation of the argument cos_id results in sql injection. It is possible to initiate the attack remotely. The exploit is now public and may be used.
Title code-projects Accounting System delete.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'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Mar 26, 2026, 6:19 PM
Reserved
Mar 25, 2026, 2:24 PM
Status
Deferred
Published
Mar 26, 2026, 3:16 AM
Modified
Jun 17, 2026, 10:57 AM