CVE Explorer
CVE-2026-25147
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0, in `portal/portal_payment.php`, the patient id used for the page is taken from the request (`$pid = $_REQUEST['pid'] ?? $pid` and `$pid = ($_REQUEST['hidden_patient_code'] ?? null) > 0 ? $_REQUEST['hidden_patient_code'] : $pid`) instead of being fixed to the authenticated portal user. The portal session already has a valid `$pid` for the logged-in patient. Overwriting
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"openemr","vendor":"openemr","versions":[{"status":"affected","version":"< 8.0.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:94cd5c192ce86ec7b4160386e82b99b2c2c10aea78f01e0db1273226c37137f9 · sha256:1839c6f1578c264a… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:94cd5c192ce86ec7b4160386e82b99b2c2c10aea78f01e0db1273226c37137f9 · sha256:1839c6f1578c264a… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-639","description":"CWE-639: Authorization Bypass Through User-Controlled Key","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:94cd5c192ce86ec7b4160386e82b99b2c2c10aea78f01e0db1273226c37137f9 · sha256:1839c6f1578c264a… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/openemr/openemr/commit/d6ab3cd0b621b19b942cf49d2db2026e288aa214","tags":["x_refsource_MISC"],"url":"https://github.com/openemr/openemr/commit/d6ab3cd0b621b19b942cf49d2db2026e288aa214"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:94cd5c192ce86ec7b4160386e82b99b2c2c10aea78f01e0db1273226c37137f9 · sha256:1839c6f1578c264a… · /containers/cna/references/1
{"name":"https://github.com/openemr/openemr/security/advisories/GHSA-mwmw-qxv3-8whh","tags":["x_refsource_CONFIRM"],"url":"https://github.com/openemr/openemr/security/advisories/GHSA-mwmw-qxv3-8whh"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:94cd5c192ce86ec7b4160386e82b99b2c2c10aea78f01e0db1273226c37137f9 · sha256:1839c6f1578c264a… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.