CVE-2026-126451
published high CVSS 4.0 · 8.5OpenEMR before 8.5.0 Stored XSS via Document Template Rendering
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 portal patients to run JavaScript in staff sessions by injecting javascript: URLs into document template_data. Attackers can submit an encounterForm value rendered unsanitized into an iframe src by DocumentTemplateRender, letting the script read PHI and CSRF tokens and call staff or admin endpoints.
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
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.3 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/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-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2- GitHub Security Advisory (GHSA-hfpq-j3fj-cpmv) https://github.com/openemr/openemr/security/advisories/GHSA-hfpq-j3fj-cpmv
- VulnCheck Advisory: OpenEMR before 8.5.0 Stored XSS via Document Template Rendering https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-xss-via-document-template-rendering
Provider assertions
2VulnCheck · cna
OpenEMR before 8.5.0 Stored XSS via Document Template Rendering
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4a12edf77e41d5ca0affc5a720168c4280ecb830803bba986f24464bf0886763
- Ingested
- 13 Nov 2026, 16:03:29 UTC
- Source record
- Official CVE record