← All CVEs

CVE-2026-10245

MEDIUM 5.1 PoC AVAILABLE

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

A flaw has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. Affected by this issue is the function create_supplier of the file /ShowForm/create_supplier/main. Executing a manipulation of the argument company_name can lead to cross site scripting. The attack can be launched remotely. The exploit has been published and may 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