RCE in Sourcecodester Pharmacy Sales And Inventory System

CVE-2026-10247

A vulnerability was found in SourceCodester Pharmacy Sales and Inventory System 1.0. This vulnerability affects the function create_generic_name of the file /ShowForm/create_generic_name/main. The manipulation of the argument generic_name results in cross site scripting. The attack may be launched remotely. The exploit has been made public and could be used.

Vulnerability class: XSS (Cross-Site Scripting)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 3.5 (Low). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N.

EPSS exploit prediction

EPSS: 0.002 (8.7th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 9th percentile — 8.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-10247: held from 0.002 to 0.002.

EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-10247?
CVE-2026-10247 is a low-severity vulnerability in Sourcecodester Pharmacy Sales And Inventory System, classified under Cross-site Scripting. CVSS score: 3.5/10. Published 2026-06-01.
How severe is CVE-2026-10247?
Low severity. CVSS v3 base score is 3.5 out of 10.