CVE-2026-10244: SourceCodester Pharmacy Sales and Inventory System main create_medicine_name cross site scripting

Published Jun 1, 2026
·
Updated

A vulnerability was detected in SourceCodester Pharmacy Sales and Inventory System 1.0. Affected by this vulnerability is the function createmedicinename of the file /ShowForm/createmedicinename/main. Performing a manipulation of the argument medicinename results in cross site scripting. The attack can be initiated remotely. The exploit is now public and may be used.

Affected Software

1 affected component
Sourcecodester SourceCodester Pharmacy Sales and Inventory System=1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Validate and sanitize the medicine_name input on the server side and apply proper HTML output encoding/escaping before rendering to prevent cross-site scripting. Reject or escape HTML/JS characters from user-supplied medicine_name values.

    SourceCodester Pharmacy Sales and Inventory System create_medicine_name (medicine_name parameter) = validate and sanitize input; apply output encoding
  2. Configuration

    Disable or restrict access to the create_medicine_name endpoint/function until a vendor patch is available (e.g., remove the form, require authentication, or restrict to internal IPs).

    SourceCodester Pharmacy Sales and Inventory System create_medicine_name endpoint = disabled or access-restricted
  3. Compensating control

    Deploy web application firewall (WAF) rules or reverse-proxy filters to block or sanitize requests containing XSS payloads targeting the create_medicine_name endpoint and restrict remote access where possible.

  4. Operational

    Review application logs and stored data for signs of exploitation; remove any stored malicious medicine_name entries and monitor for further attempts. Conduct incident response if evidence of compromise is found.

Event History

Jun 1, 2026
CVE Published
via MITRE·09:15 AM
Data Sourced
via MITRE·09:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-10244?

CVE-2026-10244 has a severity rating of low, specifically rated at 3.5.

2

How do I fix CVE-2026-10244?

To mitigate CVE-2026-10244, ensure proper input validation and sanitization for the create_medicine_name function.

3

What type of vulnerability is CVE-2026-10244?

CVE-2026-10244 is identified as a Cross-Site Scripting (XSS) vulnerability.

4

Which software is affected by CVE-2026-10244?

CVE-2026-10244 affects the SourceCodester Pharmacy Sales and Inventory System, version 1.0.

5

What can be the consequence of exploiting CVE-2026-10244?

Exploiting CVE-2026-10244 can lead to unauthorized script execution in a user's browser, potentially compromising user data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203