Skip to main content
VulnerabilityPublished

CVE-2025-45997: Unrestricted File Upload

Source CVE Database V5

0

Not known to be exploited · CVSS 8.6 High.

Data as of 26 Oct 2026, 15:59 UTC

CVSS 3.1 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 May 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
n/a n/aAffected
  • =1.0
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.

References

Community reviews

Loading reviews…