CVE-20XX-?

CVE-2026-40508

5.1 MEDIUM 0.3% exploit odds Fix listed XSS Web app

What it is

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.

At a glance

Exploitability
Can be exploited over the network with a low-privilege account, but needs a user to act. Limited direct impact.
Exploit odds
0.3% chance of exploitation in the next 30 days (EPSS).
Fix
A patch, advisory or fixed version is referenced. Upgrade or apply it.

Timeline

  1. PublishedDisclosed publicly on CVE.org and NVD
  2. Last updatedMost recent change to the record

Details

Published
Last modified
Exploit probability
0.3% · EPSS, next 30 days
Weakness
CWE-79 · Cross-site scripting
Record status
Deferred

Attack profile CVSS 4.0 · 5.1

Attack vector
Network
Complexity
Low
Attack requirements
None
Privileges needed
Low
User interaction
Passive
Confidentiality
None
Integrity
None
Availability
None
Raw 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

Meme: I wake up, CVE-2026-40508
Download Square Reddit

Fix and advisories

References

NVD record · CVE.org record