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.0%top 89%

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

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

Description

A flaw has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. Affected by this issue is the function create_supplier of the file /ShowForm/create_supplier/main. Executing a manipulation of the argument company_name can lead to cross site scripting. The attack can be launched remotely. The exploit has been published 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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/01/2026, 11:19:06 UTC

Technical Analysis

This vulnerability allows remote attackers to execute cross-site scripting attacks by manipulating the company_name parameter in the create_supplier function of SourceCodester Pharmacy Sales and Inventory System 1.0. The issue is due to insufficient input sanitization or output encoding in the affected function, enabling injection of malicious scripts that can be executed in the context of the victim's browser. The vulnerability has a CVSS 4.0 base score of 5.1, indicating medium severity with network attack vector, low attack complexity, no privileges required, and user interaction needed.

Potential Impact

Successful exploitation can lead to execution of arbitrary scripts in the context of users interacting with the vulnerable function, potentially resulting in session hijacking, defacement, or other client-side impacts. There is no indication of direct impact on system integrity or availability. The exploit is publicly available, increasing the risk of attacks.

Mitigation Recommendations

No official patch or remediation is currently available. Users should monitor the vendor's advisory for updates. Until a fix is released, consider applying input validation and output encoding on the company_name parameter as a temporary mitigation. Avoid exposing the vulnerable functionality to untrusted users if possible.

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:12.149Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a1d6713e29bf47b50e73283

Added to database: 6/1/2026, 11:03:47 AM

Last enriched: 6/1/2026, 11:19:06 AM

Last updated: 6/2/2026, 5:08:41 AM

Views: 9

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