HackerFeeds
All CVEs

CVE-2026-126451: OpenEMR Cross-site Scripting

HIGH7.3

Published 2026-11-13 · Updated 2026-11-16 · Source disclosure@vulncheck.com

Not known to be exploited · high severity — update OpenEMR to 8.5.0 or later in your next patch cycle.

What to do

  1. Update OpenEMR to version 8.5.0 or later. Versions before 8.5.0 are affected.
  2. Until it is patched, restrict network access to OpenEMR and review which accounts can log in to it.
  3. Apply a restrictive Content-Security-Policy and mark session cookies HttpOnly to limit what an injected script can do.
  4. Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.

Affected and fixed versions

ProductAffectedFixed in
OpenEMR< 8.5.08.5.0

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

It can be exploited remotely over the network; the attacker needs an ordinary low-privileged account, and a victim has to take an action such as opening a link or file. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality and integrity is rated high.

CVSS 3.1 metrics for CVE-2026-126451
Attack vectorNetworkIt can be exploited remotely over the network.
Attack complexityLowNo special conditions are needed; the attack is repeatable.
Privileges requiredLowThe attacker needs an ordinary low-privileged account.
User interactionRequiredA victim has to take an action, such as opening a link or file.
ConfidentialityHighTotal loss of confidentiality.
IntegrityHighTotal loss of integrity.
AvailabilityNoneNo effect on availability.

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Weakness: Cross-site Scripting

An attacker can make script run in another user's browser in the context of the affected site, allowing session theft or actions taken as that user.

Classified as CWE-79.

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.

Advisory text as published in the NVD record.

View on NVD