Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 90%

CVE-2026-10246: Cross Site Scripting in SourceCodester Pharmacy Sales and Inventory System

0
Medium
VulnerabilityCVE-2026-10246cvecve-2026-10246
Published: 06/01/2026 (06/01/2026, 09:45:07 UTC)
Source: CVE Database V5
Vendor/Project: SourceCodester
Product: Pharmacy Sales and Inventory System

Description

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.

CVSS v4.0

Score 5.1medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
sourcecodester/pharmacy-sales-and-inventory-system
pkg:github/sourcecodester/pharmacy-sales-and-inventory-system
Affected versions
=1.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/08/2026, 20:47:37 UTC

Technical Analysis

This vulnerability in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote attackers to perform cross-site scripting by manipulating the medicine_presentation parameter in the create_medicine_presentation function. The issue is due to insufficient input sanitization or output encoding, enabling injection of malicious scripts that could execute in the context of the affected web application. The vulnerability is publicly known, but no vendor-provided fix or official remediation is documented at this time.

Potential Impact

Successful exploitation could allow an attacker to execute arbitrary scripts in the context of the affected application, potentially leading to session hijacking, defacement, or other client-side impacts. However, the CVSS score and vector indicate that the attack complexity is low, but user interaction is required, and privileges are low. There is no indication of direct system compromise or data breach from the available information.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider applying input validation or output encoding workarounds if feasible. Monitoring for suspicious activity related to this vulnerability is advisable. Avoiding use of the affected function or restricting access to trusted users may reduce risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2026-05-31T10:15:15.255Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a1d6713e29bf47b50e7328b

Added to database: 06/01/2026, 11:03:47 UTC

Last enriched: 06/08/2026, 20:47:37 UTC

Last updated: 07/31/2026, 19:22:57 UTC

Views: 49

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses