Cross-Site Scripting Vulnerability in SourceCodester Web-based Pharmacy Product Management System

4.8MEDIUM

CVE-2025-3822

Key Information:

CVE ID
CVE ID:
CVE-2025-3822
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-3822?

A vulnerability was discovered in the changepassword.php file of SourceCodester's Web-based Pharmacy Product Management System 1.0, which permits cross-site scripting (XSS) attacks. The manipulation of user inputs related to password changes (txtconfirm_password, txtnew_password, txtold_password) creates potential entry points for malicious scripts. This allows attackers to execute scripts in the context of users' browsers, potentially compromising sensitive data and web application integrity. Remote exploitation is feasible, highlighting the urgent need for patches and security audits to mitigate risks.

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
.