CVE Explorer
CVE-2025-67491
OpenEMR is a free and open source electronic health records and medical practice management application. Versions 5.0.0.5 through 7.0.3.4 have a stored cross-site scripting vulnerability in the ub04 helper of the billing interface. The variable `$data` is passed in a click event handler enclosed in single quotes without proper sanitization. Thus, despite `json_encode` a malicious user can still inject a payload such as ` ac' ><img src=x onerror=alert(document.cookie)> ` to trigger the bug. This
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":">= 5.0.0.5, < 7.0.4"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:abb91b3202219a521789a774ea9c21e65d57f4e85bc2877475b5fd41f94b31c9 · sha256:bdf210f345976c8a… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.5,"baseSeverity":"HIGH","privilegesRequired":"LOW","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:abb91b3202219a521789a774ea9c21e65d57f4e85bc2877475b5fd41f94b31c9 · sha256:bdf210f345976c8a… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:abb91b3202219a521789a774ea9c21e65d57f4e85bc2877475b5fd41f94b31c9 · sha256:bdf210f345976c8a… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/openemr/openemr/blob/a65b11d8b8e973b8758ce0dc3efb4b6ec0466d85/interface/billing/ub04_helpers.php#L52-L60","tags":["x_refsource_MISC"],"url":"https://github.com/openemr/openemr/blob/a65b11d8b8e973b8758ce0dc3efb4b6ec0466d85/interface/billing/ub04_helpers.php#L52-L60"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:abb91b3202219a521789a774ea9c21e65d57f4e85bc2877475b5fd41f94b31c9 · sha256:bdf210f345976c8a… · /containers/cna/references/2
{"name":"https://github.com/openemr/openemr/commit/66a11c2d72ade16c4a908cd839d27cd7b261f97a","tags":["x_refsource_MISC"],"url":"https://github.com/openemr/openemr/commit/66a11c2d72ade16c4a908cd839d27cd7b261f97a"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:abb91b3202219a521789a774ea9c21e65d57f4e85bc2877475b5fd41f94b31c9 · sha256:bdf210f345976c8a… · /containers/cna/references/1
{"name":"https://github.com/openemr/openemr/security/advisories/GHSA-5fq8-jwvw-3m5w","tags":["x_refsource_CONFIRM"],"url":"https://github.com/openemr/openemr/security/advisories/GHSA-5fq8-jwvw-3m5w"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:abb91b3202219a521789a774ea9c21e65d57f4e85bc2877475b5fd41f94b31c9 · sha256:bdf210f345976c8a… · /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.