Skip to main content

POS Pharmacy System EUVDEUVD-2026-139971

| CVE-2026-140255 MEDIUM
SQL Injection (CWE-89)
2026-12-01 VulDB GHSA-pmr9-4cw3-q426
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Reach exposed login.php over network
  2. Exploit
    Submit SQL metacharacters in username/password
  3. Execution
    Break out of authentication query
  4. Impact
    Extract or alter limited DB data / bypass auth

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

The attacker needs network reachability to a deployed instance of code-projects POS Pharmacy System 1.0 and access to the login.php authentication form; injection occurs through the username or password parameters before authentication (PR:N), so no credentials or user interaction are required. Limiting factors: the product is a niche educational PHP application that is rarely deployed in production or exposed to the internet, impact is scoped to Low confidentiality/integrity/availability (no subsequent-system impact), and only version 1.0 is identified as affected. No non-default configuration or special feature toggle is cited as a prerequisite.

Impact

This is a textbook high-CVSS-category (SQL injection, CWE-89) but low-real-priority issue. The provided CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes an easy, remote, pre-authentication reach, but the impact metrics are all Low (VC:L/VI:L/VA:L, SC:N/SI:N/SA:N), yielding a Medium score of 5.5 - the scoring source (VulDB) assessed limited data exposure rather than full database compromise. The exploitation signals are weak-to-moderate and mutually consistent: EPSS is 0.37% (33rd percentile), there is NO CISA KEV listing (not actively exploited per available data), and the PoC is a reference only, not verified as working exploit code. The vuln.today decision label is 'this_month' (not act_now/emergency), aligning with the modest EPSS and absence of confirmed exploitation. The dominant risk-lowering factor the raw CVSS cannot express is deployment footprint: code-projects POS Pharmacy System 1.0 is a small educational/demo PHP application with no meaningful production presence, so the practical attack surface is minimal. Net: low real-world priority despite the alarming SQLi label.

Exploit ScenarioDerived

A remote attacker submits crafted input in the username or password field of login.php, injecting SQL into the authentication query to extract or manipulate limited database content and potentially bypass login. A public PoC reference exists but is not verified as working exploit code, so a would-be attacker may need to reconstruct the payload. The low attack complexity (AC:L) and lack of required authentication (PR:N) mean any reachable instance can be probed trivially.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Dec 02, 2026

Unauthenticated SQL injection in the login form (login.php) of code-projects POS Pharmacy System 1.0 lets remote attackers manipulate the username or password parameters to alter the database query executed before any credentials are checked. Exploitation requires only network reachability to a deployed instance and access to the login page; the assessed CVSS:3.1 vector is AV:N/AC:L/PR:N/UI:N/S:U with Low confidentiality, integrity and availability impact, and the supplier-supplied CVSS 4.0 score is 5.5. A public PoC reference exists (a GitHub advisory write-up); it is not verified as working exploit code, EPSS is low at 0.37% (33rd percentile), there is no CISA KEV listing, and the vuln.today priority decision is 'this_month' - real-world exposure is limited because this is a niche educational PHP application rarely deployed in production.

RemediationAI

No vendor-released patch identified at time of analysis: code-projects publishes this as an educational PHP mini-project rather than a maintained product with a versioned security release, and no fixed version appears in the advisory, EUVD or NVD data. Where the code is under the operator's control, the complete fix is to rewrite the login.php query to use parameterised/prepared statements (PDO or mysqli with bound parameters) and stop concatenating the username and password arguments into SQL; input validation alone is only a partial mitigation because it does not remove the injection sink. If the application must stay as-is, restrict exposure: bind the instance to localhost or an internal interface and place it behind a VPN or reverse proxy with authentication, which removes remote reachability at the cost of losing direct web access for legitimate users; alternatively deploy a WAF/reverse-proxy rule that detects SQL metacharacters and tautology patterns on login.php POST bodies, accepting that such signature filtering is bypassable and needs tuning to avoid blocking valid logins. Detection should focus on anomalous login.php requests and database error responses. Given the 'this_month' priority, low EPSS (0.37%) and no KEV listing, remediation can be scheduled rather than emergency-braked, and any deployment of this demo application on an internet-facing host should be retired or replaced rather than patched.

Affected VersionsENISA

POS Pharmacy System 1.0

Affected Packages

euvd pos_pharmacy_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 affected component is a PHP web application, code-projects POS Pharmacy System 1.0, distributed as a learning/mini-project codebase; the CPE cpe:2.3:a:code-projects:pos_pharmacy_system confirms the vendor/product binding and the EUVD record lists only version 1.0. The root cause class is CWE-89 (SQL injection): in login.php the username and/or password arguments are incorporated into a database query without proper neutralisation, so crafted input changes the query's logic ahead of authentication. Because the vulnerable code path is the authentication form itself, the assessed vector is PR:N - no credentials or user interaction are needed, only reachability of the login endpoint. The sources do not describe the exact query construction, database backend, or the precise payload mechanics; the trigger beyond 'manipulation of the username/password argument in login.php' is not described in the available sources. Impact is scoped to the application's own database (S:U) with Low ratings across confidentiality, integrity and availability, and no downstream/secondary-system compromise is assessed.

Know when Pos Pharmacy 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 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 7.3 HIGH

Remote, low-complexity, pre-auth injection on the login form (AV:N/AC:L/PR:N/UI:N); impacts kept Low per the source's limited-impact assessment rather than full database compromise.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/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
None
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

2
CVSS changed
Dec 01, 2026 - 08:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Dec 01, 2026 - 08:00 cve.org
MEDIUM 5.5

DescriptionCVE.org

A vulnerability has been found in code-projects POS Pharmacy System 1.0. The impacted element is an unknown function of the file login.php. The manipulation of the argument username/password leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Rare
educational code-projects.org demo PHP app, no enterprise or production footprint
Exploit
POC
Public exploit code exists
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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Yes
Human Impact· derived
Medium

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
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.

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