CVE-2026-10246: SourceCodester Pharmacy Sales and Inventory System main create_medicine_presentation cross site scripting

Published Jun 1, 2026
·
Updated

A vulnerability has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. This affects the function createmedicinepresentation of the file /ShowForm/createmedicinepresentation/main. The manipulation of the argument medicinepresentation leads to cross site scripting. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

Affected Software

1 affected component
Sourcecodester Pharmacy Sales and Inventory System=1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Remove

    Remove SourceCodester Pharmacy Sales and Inventory System 1.0 from your environment.

    If the application or the create_medicine_presentation functionality is not required, uninstall the application or disable/remove that functionality to eliminate exposure.

  2. Configuration

    Sanitize and HTML-encode (escape) the medicine_presentation argument before rendering it to users; implement server-side input validation or reject unsafe input in create_medicine_presentation to prevent reflected/stored XSS.

    SourceCodester Pharmacy Sales and Inventory System (file: /ShowForm/create_medicine_presentation/main, function: create_medicine_presentation) output_encoding/input_validation = apply HTML-encoding and server-side validation
  3. Compensating control

    Deploy a web application firewall or input-filtering rules to block XSS payloads targeting the medicine_presentation parameter, and restrict external access to the vulnerable endpoint until a code fix is applied.

  4. Operational

    Monitor application logs and web access logs for exploitation attempts targeting create_medicine_presentation; if compromise is suspected, invalidate affected sessions and take incident-response actions (containment, forensics, credential rotation) as appropriate.

Event History

Jun 1, 2026
CVE Published
via MITRE·09:45 AM
Data Sourced
via MITRE·09:45 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-10246?

The severity of CVE-2026-10246 is rated low with a score of 3.5.

2

What type of vulnerability is CVE-2026-10246?

CVE-2026-10246 is a cross-site scripting (XSS) vulnerability.

3

How does CVE-2026-10246 affect the SourceCodester Pharmacy Sales and Inventory System?

CVE-2026-10246 affects the create_medicine_presentation function, allowing for the manipulation of input leading to XSS attacks.

4

How can I fix the vulnerability identified in CVE-2026-10246?

To fix CVE-2026-10246, sanitize and validate user input to prevent the injection of malicious scripts.

5

Which version of the software is affected by CVE-2026-10246?

CVE-2026-10246 affects version 1.0 of the SourceCodester Pharmacy Sales and Inventory System.

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