CVE-2018-15142
Directory traversal in portal/import_template.php in versions of OpenEMR before 5.0.1.4 allows a remote attacker authenticated in the patient portal to execute arbitrary PHP code by writing a file with a PHP extension via the "docid" and "content"…
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 18.0%, higher than 97% of all known CVEs. Patch or mitigate before the next change window.
Description
Directory traversal in portal/import_template.php in versions of OpenEMR before 5.0.1.4 allows a remote attacker authenticated in the patient portal to execute arbitrary PHP code by writing a file with a PHP extension via the "docid" and "content" parameters and accessing it in the traversed directory.
- CVSS 3.0
- 8.8 HIGHCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 17.99% probability · 97th percentile
- Public exploits
- 1 in Exploit-DB · verified · first 16 August 2018
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- open-emr/openemr
- Source
- cve@mitre.org
EPSS moved from 13.9% on 21 September 2026 to 18.0% on 27 October 2026, peaking at 18.2% on 22 September 2026. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- https://github.com/openemr/openemr/pull/1765/filesPatch, Third Party Advisory
- https://www.databreaches.net/openemr-patches-serious-vulnerabilities-uncovered-by-project-insecurity/Third Party Advisory
- https://www.exploit-db.com/exploits/45202/Exploit, Third Party Advisory, VDB Entry
- https://github.com/openemr/openemr/pull/1765/filesPatch, Third Party Advisory
- https://www.databreaches.net/openemr-patches-serious-vulnerabilities-uncovered-by-project-insecurity/Third Party Advisory
- https://www.exploit-db.com/exploits/45202/Exploit, Third Party Advisory, VDB Entry
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.