← All CVEs

CVE-2026-10247

MEDIUM 5.1 PoC AVAILABLE

Published 2026-06-01 · Last modified 2026-06-01

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.

EXPLOIT AVAILABLE

Public exploit or PoC code exists. Modeled probability is still low, but the barrier to attack is reduced — watch closely.

Exploitation likelihood

0.2%chance of exploitation in 30 days · 10th percentile

○ In CISA KEV ● Public exploit / PoC

Impact if exploited

5.1CVSS 4.0 · MEDIUM

  • ConfidentialityNone
  • IntegrityLow
  • AvailabilityNone

What an attacker needs

  • Access: Reachable over the network — no local access needed
  • Privileges: Requires a low-privilege account
  • User interaction: Succeeds with passive user activity
  • Complexity: No special conditions — reliably repeatable
  • Requirements: No special attack requirements

✓ lowers the bar for an attacker · ⚠ raises it

Proof of concept & exploit code

Listed for defensive triage and patch prioritization.

Affected

Vendors Sourcecodester

Products Pharmacy Sales And Inventory System

Weakness (CWE)

  • CWE-79: Cross-site scripting (XSS)
  • CWE-94: Code injection

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

References

Exploits & PoC

Advisories

Technical & other

Sources: NVD · CVE.org · EPSS