CVE-2026-10247: Cross Site Scripting in SourceCodester Pharmacy Sales and Inventory System
A vulnerability was found in SourceCodester Pharmacy Sales and Inventory System 1.0. This vulnerability affects the function create_generic_name of the file /ShowForm/create_generic_name/main. The manipulation of the argument generic_name results in cross site scripting. The attack may be launched remotely. The exploit has been made public and could be used.
AI Analysis
Technical Summary
This vulnerability in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote attackers to perform cross-site scripting attacks by manipulating the generic_name parameter in the create_generic_name function located at /ShowForm/create_generic_name/main. The vulnerability enables injection of malicious scripts that could be executed in the context of the affected application. The CVSS 4.0 base score is 5.1, indicating a medium severity with network attack vector, low attack complexity, no privileges required, and user interaction needed. No official fix or vendor advisory is currently available.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary scripts in the context of the affected web application, potentially leading to session hijacking, defacement, or other client-side attacks. However, the impact is limited by the requirement for user interaction and the absence of privilege escalation or direct system compromise. There are no confirmed reports of active exploitation in the wild.
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 and output encoding on the generic_name parameter to mitigate XSS risks. Additionally, employing web application firewalls (WAFs) to detect and block malicious payloads may help reduce exposure.
CVE-2026-10247: Cross Site Scripting in SourceCodester Pharmacy Sales and Inventory System
Description
A vulnerability was found in SourceCodester Pharmacy Sales and Inventory System 1.0. This vulnerability affects the function create_generic_name of the file /ShowForm/create_generic_name/main. The manipulation of the argument generic_name results in cross site scripting. The attack may be launched remotely. The exploit has been made public and could be used.
CVSS v4.0
Score 5.1medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote attackers to perform cross-site scripting attacks by manipulating the generic_name parameter in the create_generic_name function located at /ShowForm/create_generic_name/main. The vulnerability enables injection of malicious scripts that could be executed in the context of the affected application. The CVSS 4.0 base score is 5.1, indicating a medium severity with network attack vector, low attack complexity, no privileges required, and user interaction needed. No official fix or vendor advisory is currently available.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary scripts in the context of the affected web application, potentially leading to session hijacking, defacement, or other client-side attacks. However, the impact is limited by the requirement for user interaction and the absence of privilege escalation or direct system compromise. There are no confirmed reports of active exploitation in the wild.
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 and output encoding on the generic_name parameter to mitigate XSS risks. Additionally, employing web application firewalls (WAFs) to detect and block malicious payloads may help reduce exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-05-31T10:15:17.476Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a1d6713e29bf47b50e73293
Added to database: 6/1/2026, 11:03:47 AM
Last enriched: 6/1/2026, 11:18:57 AM
Last updated: 6/2/2026, 4:58:10 AM
Views: 8
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.