CVE-2026-126450
published medium CVSS 4.0 · 5.3OpenEMR before 8.5.0 Stored XSS via Patient External ID in Prescriptions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| openemr | — | openemr0 to < 8.5.0 (affected · semver) · 8.5.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability that allows authenticated users to inject scripts by placing payloads in the patient External ID field. The payload executes when other users open the patient's prescriptions via View Printable Version (HTML), running script in their browser sessions.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.0 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| openemr | openemr | 0 to < 8.5.0 (affected · semver)8.5.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
References
2- GitHub Security Advisory (GHSA-w2f7-289j-92pp) https://github.com/openemr/openemr/security/advisories/GHSA-w2f7-289j-92pp
- VulnCheck Advisory: OpenEMR before 8.5.0 Stored XSS via Patient External ID in Prescriptions https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-xss-via-patient-external-id-in-prescriptions
Provider assertions
2VulnCheck · cna
OpenEMR before 8.5.0 Stored XSS via Patient External ID in Prescriptions
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4386987e78efeb931567721110044038b101ab7e93fdc5eef17399e5b67e8a69
- Ingested
- 17 Nov 2026, 14:21:33 UTC
- Source record
- Official CVE record