Skip to main content

Stock Management System CVE-2026-138220

| EUVDEUVD-2026-137741 LOW
SQL Injection (CWE-89)
2026-11-29 VulDB GHSA-566r-r83p-5gm3
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged user
  2. Delivery
    Send request to changeUsername.php
  3. Exploit
    Inject SQL via user_id parameter
  4. Execution
    Manipulate backend database query
  5. Impact
    Read or modify stored data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated low-privileged session (CVSS PR:L) to reach the user-management endpoint php_action/changeUsername.php; the attacker then supplies a malicious user_id argument to inject SQL. No special non-default configuration is indicated by the sources, and no user interaction is required (UI:N). The principal limiting factor is the authentication requirement - an attacker must first obtain valid credentials or an account, so this is not exploitable by a fully unauthenticated remote attacker. Impact is partial (VC:L/VI:L/VA:L), consistent with constrained data read/modification rather than full database compromise as described.

Impact

This is a SQL injection (CWE-89) in itsourcecode Stock Management System 1.0 via the user_id parameter of php_action/changeUsername.php. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L, score 5.3) indicates a network-reachable, low-complexity attack that nonetheless requires low-level privileges (PR:L), i.e. an authenticated session - so this is not an unauthenticated internet-facing bug. The input provides no EPSS score and no CISA KEV listing, so there is no signal of active or widespread exploitation; a public PoC reference exists but it is not verified as working exploit code, and PoC availability must not be conflated with active exploitation. The vuln.today decision label is 'this_month' (not act_now/emergency), and the E:P (Proof-of-Concept) exploit-maturity metric is consistent with an unproven PoC rather than functional in-the-wild code. Net: a genuine but moderate-priority injection flaw - real because the sink and parameter are named and a PoC reference exists, but tempered by the authentication requirement, the low (partial) impact metrics, the absence of KEV/EPSS corroboration, and the niche product footprint. The changeUsername.php path implies an account/user-management feature that typically sits behind a login, supporting the PR:L requirement.

Exploit ScenarioDerived

An attacker who already holds a valid low-privileged account on a deployed Stock Management System 1.0 instance submits a request to php_action/changeUsername.php with a crafted user_id value that breaks out of the SQL query, allowing them to read or alter database records beyond their intended scope. A public PoC reference is cited (not verified as working exploit code), so the injection point and parameter are disclosed. Because AC is low, no special timing or configuration is needed once authenticated.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 29, 2026

SQL injection in itsourcecode Stock Management System 1.0 lets an authenticated low-privileged user inject arbitrary SQL through the user_id argument of php_action/changeUsername.php, giving partial read and modification of application data. The endpoint is remotely reachable but requires a valid session first (CVSS 4.0 5.3 with PR:L; assessed CVSS 3.1 5.3, C:L/I:L/A:L), so it is not exploitable by a fully unauthenticated attacker. A public PoC reference exists on a GitHub issue; it is not verified as working exploit code, and no CISA KEV listing or confirmed active exploitation was reported at time of analysis.

RemediationAI

No vendor-released patch was identified at time of analysis, and no fixed version is listed in the available references, so the complete fix is a vendor update once itsourcecode publishes one - monitor https://itsourcecode.com/ and https://vuldb.com/vuln/445089 for a corrected release. Until then, the most direct compensating control is to restrict access to php_action/changeUsername.php so that only trusted administrative sessions can reach it (for example via web-server ACLs or an application-level allowlist); the trade-off is that legitimate username-change workflows break for non-allowlisted staff. Second, enforce strict server-side validation on the user_id argument - cast it to an integer and reject anything that is not a positive numeric ID before it reaches the query - which closes the injection vector but requires source modification and re-testing since there is no supported patch to apply. Third, run the application against a database account limited to the minimum privileges the application actually needs (no DDL, no file or administrative functions), which reduces what a successful injection can achieve but does not prevent the injection itself and may surface as functional errors in features that rely on broader rights. A WAF rule matching anomalous SQL metacharacters in the user_id parameter can add detection and blocking coverage, though it is signature-based and bypassable and should not be treated as a substitute for the vendor fix.

Affected VersionsENISA

Stock Management System 1.0

Affected Packages

euvd stock_management_system no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The target is a PHP-based web application (itsourcecode Stock Management System 1.0), and the flaw sits in the user-management handler php_action/changeUsername.php. Root cause is CWE-89: the user_id argument supplied to that endpoint is incorporated into a SQL statement without adequate neutralization or parameterization, so a crafted value alters query structure rather than being treated as data. Because the request is handled server-side over HTTP, the attack path is network-reachable, but reaching the vulnerable function requires an authenticated low-privileged session per the assessed vector (AV:N/AC:L/PR:L/UI:N) - the sources do not describe any pre-authentication path, nor do they describe the specific query, database engine, or sink beyond the user_id argument manipulation. The CPE entry cpe:2.3:a:itsourcecode:stock_management_system:*:*:*:*:*:*:*:* is unversioned/wildcarded, so the CPE alone does not bound the affected releases; the description identifies version 1.0. Impact is constrained to confidentiality, integrity and availability of the application's own data (S:U, VC:L/VI:L/VA:L), consistent with partial data disclosure or modification rather than full database or host compromise.

Know when Stock Management System gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.1 MEDIUM
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
vuln.today AI 6.3 MEDIUM

Network-reachable injection with low complexity but requiring a low-privileged authenticated account (PR:L); partial C/I/A impact consistent with constrained SQL injection rather than full database takeover.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Nov 29, 2026 - 12:22 NVD
MEDIUM LOW
CVSS changed
Nov 29, 2026 - 12:22 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Nov 29, 2026 - 11:30 cve.org
MEDIUM 5.3

DescriptionCVE.org

A vulnerability was identified in itsourcecode Stock Management System 1.0. The affected element is an unknown function of the file php_action/changeUsername.php. Such manipulation of the argument user_id leads to sql injection. The attack may be performed from remote. The exploit is publicly available and might be used.

Threat Intelligence Overview

EPSS Score
0.3%
Top 90% exploitable
Prevalence
Rare
itsourcecode is a free tutorial/student source-code project, negligible production footprint
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2024-36779 CRITICAL POC
9.8 Jun 06

Sourcecodester Stock Management System v1.0 is vulnerable to SQL Injection via editCategories.php. Rated critical severi

CVE-2022-4088 CRITICAL POC
9.8 Nov 24

A vulnerability was found in rickxy Stock Management System and classified as critical. Rated critical severity (CVSS 9.

CVE-2020-24197 CRITICAL POC
9.8 Sep 09

A SQL injection vulnerability in the login component in Stock Management System v1.0 allows remote attacker to execute a

CVE-2022-4090 HIGH POC
8.8 Nov 24

A vulnerability was found in rickxy Stock Management System and classified as problematic.php?action=add. Rated high sev

CVE-2020-23830 HIGH POC
7.1 Sep 02

A Cross-Site Request Forgery (CSRF) vulnerability in changeUsername.php in SourceCodester Stock Management System v1.0 a

CVE-2025-4283 MEDIUM POC
6.9 May 05

A vulnerability was found in SourceCodester/oretnom23 Stock Management System 1.0 and classified as critical.php?f=login

CVE-2024-5774 MEDIUM POC
6.9 Jun 09

A vulnerability has been found in SourceCodester Stock Management System 1.0 and classified as critical. Rated medium se

CVE-2020-24198 MEDIUM POC
6.1 Sep 09

A persistent cross-site scripting vulnerability in Sourcecodester Stock Management System v1.0 allows remote attackers t

CVE-2020-23831 MEDIUM POC
6.1 Sep 01

A Reflected Cross-Site Scripting (XSS) vulnerability in the index.php login-portal webpage of SourceCodester Stock Manag

CVE-2025-14567 MEDIUM POC
5.5 Dec 12

Missing authentication for the /api/employees endpoint in haxxorsid Stock Management System lets remote attackers retrie

CVE-2026-138219 MEDIUM POC
5.5 Nov 29

SQL injection in the Username parameter of the itsourcecode Stock Management System 1.0 login form (index.php) can let r

CVE-2024-0958 MEDIUM POC
5.4 Jan 27

A vulnerability was found in CodeAstro Stock Management System 1.0 and classified as problematic.php of the component Ad

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy