CVE-2026-10245: Cross Site Scripting in SourceCodester Pharmacy Sales and Inventory System
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.
AI Analysis
Technical Summary
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.
CVE-2026-10245: Cross Site Scripting in SourceCodester 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
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.