# CVE-2025-3823: SourceCodester Web-based Pharmacy Product Management System add-stock.php cross site scripting

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-04-20T10:31:05.566Z
- Modified: 2026-06-17T09:20:44.863Z
- Weaknesses: CWE-79, CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability classified as problematic has been found in SourceCodester Web-based Pharmacy Product Management System 1.0. Affected is an unknown function of the file add-stock.php. The manipulation of the argument txttotalcost/txtproductID/txtprice/txtexpirydate leads to cross site scripting. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

(As written by CVE List.)

## Affected

- SourceCodester Web-based Pharmacy Product Management System: 1.0
- senior-walter web-based_pharmacy_product_management_system: 1.0

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- VulDB: CVSS:3.1 2.4 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N`
- VulDB: CVSS:3.0 2.4 Low `CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N`
- VulDB: CVSS:2.0 3.3 Low `AV:N/AC:L/Au:M/C:N/I:P/A:N`
- NVD: CVSS:3.1 4.1 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N`

## References

- <https://github.com/yaklang/IRifyScanResult/blob/main/Web-based%20Pharmacy%20Product%20Management%20System/xss_from_input_with_post.md> (exploit, third-party-advisory)
- <https://vuldb.com/?id.305730> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.305730> (permissions-required, signature, vdb-entry)
- <https://www.sourcecodester.com/> (product)

## Sources

- CVE List: [CVE-2025-3823](https://www.cve.org/CVERecord?id=CVE-2025-3823), CVE Terms of Use, modified 2025-04-21
- NVD: [CVE-2025-3823](https://nvd.nist.gov/vuln/detail/CVE-2025-3823), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-3823 · Whole record: https://cve.day/CVE-2025-3823.json · Rebuilt by cve.day 2026-11-25T22:58:56.799Z
