CVE-2026-10244 Details
Description
A vulnerability was detected in SourceCodester Pharmacy Sales and Inventory System 1.0. Affected by this vulnerability is the function create_medicine_name of the file /ShowForm/create_medicine_name/main. Performing a manipulation of the argument medicine_name results in cross site scripting. The attack can be initiated remotely. The exploit is now public and may be used.
A cross-site scripting (XSS) vulnerability has been identified in SourceCodester Pharmacy Sales and Inventory System version 1.0. The issue arises in the 'create_medicine_name' function within the '/ShowForm/create_medicine_name/main' file. The vulnerability allows remote attackers to inject malicious scripts through the 'medicine_name' parameter, which are then executed in the context of the user's browser. This exploitation can lead to unauthorized actions being performed on behalf of the user, such as stealing cookies or session tokens.
To address this vulnerability, implement output encoding for user inputs before displaying them on the web page. Validate and filter input data to reject or escape potentially malicious content. Consider using a Content Security Policy to restrict script execution sources. For sensitive cookies, set the HttpOnly and Secure flags. Regular security audits can help identify and fix such vulnerabilities.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 1, 2026CISA-ADP
Assessed Jun 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/timeflies123/cve/issues/2 | [email protected] | ExploitIssue TrackingTechnical Description |
| https://vuldb.com/cve/CVE-2026-10244 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/823931 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/367522 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/367522/cti | [email protected] | Content Wall |
| https://www.sourcecodester.com/ | [email protected] | Vendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SourceCodester Pharmacy Sales and Inventory System | 1.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 22, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 1, 2026 | New CVE Received | [email protected] |
Volerion