CVE-2025-45997: Unrestricted File Upload
Source CVE Database V5
Not known to be exploited · CVSS 8.6 High.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 28 May 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| n/a n/a | Affected
| Fixed in– |
AI-suggested
Organizations should immediately audit their web-based pharmacy management systems for this vulnerability. Specific mitigations include: 1) Implement strict server-side validation of uploaded files, verifying file content signatures (magic bytes) rather than relying solely on Content-Type headers or file extensions. 2) Restrict upload directories to non-executable locations and configure web servers to disallow execution of uploaded files. 3) Employ application-layer filtering to block PHP or other script files from being uploaded. 4) Use web application firewalls (WAFs) with rules to detect and block suspicious file upload attempts. 5) Monitor logs for unusual upload activities and conduct regular security assessments. 6) If possible, replace or upgrade the vulnerable system to a version that addresses this issue or switch to alternative solutions with secure file handling. 7) Educate developers and administrators about secure file upload practices to prevent similar vulnerabilities in the future.
Description
Sourcecodester Web-based Pharmacy Product Management System v.1.0 has a file upload vulnerability. An attacker can upload a PHP file disguised as an image by modifying the Content-Type header to image/jpg.