Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-40508
VULNERABILITY

CVE-2026-40508

Common Vulnerabilities and Exposures record

MEDIUM

Summary

OpenEMR before 8.3.0 contains a stored cross-site scripting vulnerability in the patient portal template import handler that allows authenticated attackers with Forms Administration permissions to upload template files containing arbitrary HTML or JavaScript. Attackers can inject malicious scripts through the template upload functionality, which are stored without sanitization and execute in the browser of any other Forms Administration user who views the template in the HTML editor.

Risk

CVSS
5.1
Severity
MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
Aug 19, 2026 15:17
Modified
Oct 27, 2026 13:10
Last observed
Oct 27, 2026 10:00

CWE

CWE-79

References