# CVE-2026-7200: SourceCodester Pharmacy Sales and Inventory System XSS in types page

Source: https://junglewise.ai/threats/cve-2026-7200-sourcecodester-pharmacy-sales-and-inventory-system-xss-in-types  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-28. Updated: 2026-07-24  
License: CC BY 4.0 with a link back

CVE-2026-7200 · Severity: medium · CVSS 4.3 · Published 2026-04-28

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 exploit this flaw to execute malicious scripts in the browsers of other users who visit a specific page. This could lead to the theft of login session information, unauthorized actions performed on behalf of users, or the defacement of the application's interface.

Technologies: [SourceCodester Pharmacy Sales and Inventory System](https://junglewise.ai/threats/technologies/pharmacy-sales-and-inventory-system). Vendors: [SourceCodester](https://junglewise.ai/threats/vendors/sourcecodester).

## Quick answers

**Is CVE-2026-7200 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-7200 being exploited in the wild.

**How severe is CVE-2026-7200?** Medium severity, with a CVSS score of 4.3, published 28 April 2026.

**Which products and versions are affected?** SourceCodester Pharmacy Sales and Inventory System 1.0.

**Is there a fix for CVE-2026-7200?** 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-7200 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-7200?** 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 issue is located in the '/index.php?page=types' file, where the 'id' parameter is processed without sufficient input validation or output encoding. A remote, unauthenticated attacker can craft a malicious URL containing a script payload; when a victim clicks this link, the script executes within the context of their browser session. This can be used to capture session cookies or perform unauthorized API requests. A public exploit (Proof of Concept) has been disclosed.

## Affected products

- SourceCodester Pharmacy Sales and Inventory System 1.0

## Timeline

- 2026-04-09: disclosed: Vulnerability reported on GitHub with PoC
- 2026-04-28: advisory: NVD/VulDB advisory published

## References

- [https://github.com/3436567162/vlun/issues/1](https://github.com/3436567162/vlun/issues/1)
- [https://vuldb.com/submit/801111](https://vuldb.com/submit/801111)
- [https://vuldb.com/vuln/359801](https://vuldb.com/vuln/359801)
- [https://vuldb.com/vuln/359801/cti](https://vuldb.com/vuln/359801/cti)
- [https://www.sourcecodester.com/](https://www.sourcecodester.com/)

## Related threats

- [SourceCodester Pharmacy Sales and Inventory System improper access control in ShowForm](https://junglewise.ai/threats/cve-2026-10255-sourcecodester-pharmacy-sales-and-inventory-system-improper)
- [SourceCodester Pharmacy Sales and Inventory System CSV injection in Supplier Creation Interface](https://junglewise.ai/threats/cve-2026-10248-sourcecodester-pharmacy-sales-and-inventory-system-csv-injection)
- [SourceCodester Pharmacy Sales and Inventory System XSS in create_generic_name](https://junglewise.ai/threats/cve-2026-10247-sourcecodester-pharmacy-sales-and-inventory-system-xss-in-create)
- [SourceCodester Pharmacy Sales and Inventory System XSS in create_medicine_presentation](https://junglewise.ai/threats/cve-2026-10246-sourcecodester-pharmacy-sales-and-inventory-system-xss-in-create)
- [SourceCodester Pharmacy Sales and Inventory System XSS in create_supplier](https://junglewise.ai/threats/cve-2026-10245-sourcecodester-pharmacy-sales-and-inventory-system-xss-in-create)
