Cross-Site Scripting Vulnerability in SourceCodester Pharmacy Management System

4.8MEDIUM

CVE-2025-3826

Key Information:

CVE ID
CVE ID:
CVE-2025-3826
Vendor
CVE Published:
20 April 2025

Timeline

Exploit known the day it was published

  • 🟑

    Public PoC available

  • πŸ‘Ύ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Badges

πŸ‘Ύ Exploit Exists

How risky is it?

  • Partly: Works over the network, but needs a login
  • Partly: Exploitation or a working exploit reported
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Web-based Pharmacy Product Management System. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Look for signs of compromise

Exploitation has been reported, so check logs on exposed Web-based Pharmacy Product Management System systems for unusual requests or new processes from before you patched.

4Why it's rated "Check today"
  • Exploitation or a working exploit has been reported.
  • Its CVSS severity is medium (4.8).

What is CVE-2025-3826?

A critical flaw has been identified in the SourceCodester Web-based Pharmacy Product Management System version 1.0, specifically affecting the add-supplier.php file. This vulnerability arises from improper validation of user input in the parameters txtsupplier_name and txtaddress, allowing attackers to inject malicious scripts. When exploited, this can lead to unauthorized actions that compromise data integrity and user security. The attack can be initiated remotely, posing significant risks to the system's stability and confidentiality, necessitating immediate attention and remediation.

Affected Version(s)

Web-based Pharmacy Product Management System 1.0

References

SQL Injection in SourceCodester Client Database Management System

CVE-2025-46188
SourceCodesterClient Database Manage...πŸ”₯πŸ˜„πŸ‘Ύ9.8CRITICAL
View more Sourcecodester vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V4

Score:
4.8
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown
.