CVE-2026-67612
published medium CVSS 4.0 · 4.8OpenEMR 8.2.0 Stored XSS via import_template.php Template Management
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| openemr | — | openemr0 through 8.2.0 · Other versions: affected | Affected | Not stated | VulnCheck |
Description
OpenEMR through 8.2.0 contains a stored cross-site scripting vulnerability in the patient portal template system that allows authenticated administrators to inject arbitrary HTML and JavaScript by storing malicious payloads through the template save mode, which only filters literal PHP open tags. Attackers can exploit the lack of output encoding at the template retrieval endpoint combined with missing HttpOnly cookie attributes to exfiltrate session tokens via document.cookie access, enabling full session hijacking of any admin, clinician, or portal patient who views a poisoned template.
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
- 4.8 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.8 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| openemr | openemr | 0 through 8.2.0 (affected · semver)Default: affected | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2- Researcher Disclosure https://jivasecurity.com/writeups/openemr-portal-template-stored-xss
- https://www.vulncheck.com/advisories/openemr-stored-xss-via-import-template-php-template-management
Provider assertions
2VulnCheck · cna
OpenEMR 8.2.0 Stored XSS via import_template.php Template Management
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a2d081587395b0808eb7e5ef80bc4d50194131ae14c7fe23162a43848334e155
- Ingested
- 23 Sep 2026, 09:27:16 UTC
- Source record
- Official CVE record