CVE-2025-3826: SourceCodester Web-based Pharmacy - Reflected XSS
- Cve: CVE-2025-3826
- Name: SourceCodester Web-based Pharmacy - Reflected XSS
- Description: A vulnerability, which was classified as problematic, was found in SourceCodester Web-based Pharmacy Product Management System 1.0. This affects an unknown part of the file add-supplier.php. The manipulation of the argument txtsupplier_name/txtaddress leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
- Impact: Attackers can execute arbitrary scripts in the victim's browser, potentially stealing cookies or session tokens.
- Remediation: Implement proper input validation and output encoding for 'txtsupplier_name' and 'txtaddress' parameters.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N
- Epss score: 0.00411
- Epss percentile: 0.36161
- Assignee: [email protected]
- Published at: 2025-04-20T13:15:44Z
- Age in days: 583
- Modified at: 2026-06-17T09:20:45Z
- Public exploits total: 1
- References total: 4
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-3826
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/yaklang/IRifyScanResult/blob/main/Web-based%20Pharmacy%20Product%20Management%20System/xss_from_input_with_post.md | nvd | 2025-04-20 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/yaklang/IRifyScanResult/blob/main/Web-based%20Pharmacy%20Product%20Management%20System/xss_from_input_with_post.md | Exploit |
| https://vuldb.com/?id.305733 | Third Party Advisory, VDB Entry |
| https://vuldb.com/?ctiid.305733 | Permissions Required, VDB Entry |
| https://www.sourcecodester.com/ | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| senior-walter:web-based_pharmacy_product_management_system | = 1.0 | no | nvd | /v1/products/senior-walter/web-based_pharmacy_product_management_system |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-04-20
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts