CVE-2026-10244: SourceCodester Pharmacy Sales and Inventory System XSS in medicine_name

CVE-2026-10244 · Severity: low · CVSS 3.5 · Published 2026-06-01

A security vulnerability exists in the SourceCodester Pharmacy Sales and Inventory System, a web application used for managing pharmaceutical stock and sales. An attacker can inject malicious scripts into the system via the medicine name field. If a user views the affected page, the attacker could steal login session information or perform unauthorized actions on the user's behalf.

Technologies: SourceCodester Pharmacy Sales and Inventory System. Vendors: SourceCodester.

Quick answers

Is CVE-2026-10244 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-10244 being exploited in the wild.
How severe is CVE-2026-10244?
Low severity, with a CVSS score of 3.5, published 1 June 2026.
Which products and versions are affected?
SourceCodester Pharmacy Sales and Inventory System 1.0.
Is there a fix for CVE-2026-10244?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-10244 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-10244?
Check whether you run SourceCodester Pharmacy Sales and Inventory System at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A reflected cross-site scripting (XSS) vulnerability exists in SourceCodester Pharmacy Sales and Inventory System 1.0. The flaw is located in the 'medicine_name' parameter within the '/ShowForm/create_medicine_name/main' component. The application fails to properly validate or encode user-supplied input before rendering it back to the web page. A remote attacker can exploit this by tricking a user into clicking a specially crafted link or submitting a malicious payload, leading to the execution of arbitrary JavaScript in the victim's browser context. This can result in session hijacking or unauthorized data access. No authentication is required to initiate the attack.

Affected products

  • SourceCodester Pharmacy Sales and Inventory System 1.0

Timeline

  • 2026-05-09: disclosed: Initial disclosure on GitHub issues
  • 2026-06-01: advisory: NVD publication date

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.