Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › JavaScript

CVE-2026-126451 — openemr

High · CVSS 8.5EPSS 0.8% First seen November 13, 2026

One of 80 openemr vulnerabilities published together by NVD: our article covers all of them.

JavaScriptWebVulnerabilitiesEndpoint security

Research article

OpenEMR Before 8.5.0 Contains Stored XSS Vulnerability [CVE-2026-126451]

CVECVE-2026-126451
Vendor and productopenemr
PublishedNovember 24, 2026 18:15 UTC
Research cut-offNovember 24, 2026 17:30 UTC
Sources reviewed3: NVD record (last modified 2026-11-16); CISA KEV catalog; FIRST EPSS (2026-11-24)

Executive summary

CVE-2026-126451 impacts OpenEMR versions prior to 8.5.0, enabling attackers to insert harmful scripts into document templates. The CVSS 3.1 rating is 5.4 MEDIUM, assigned by NVD [1]. The reviewed sources do not confirm exploitation [2]. The recommended action is to upgrade to the patched version 8.5.0 [1].

Key points

  • CVE-2026-126451 affects OpenEMR versions before 8.5.0 [1].
  • The CVSS 3.1 score is 5.4 MEDIUM, assigned by NVD [1].
  • The reviewed sources do not confirm exploitation [2].
  • The vulnerability allows attackers to inject JavaScript into document templates [1].
  • The fix is available in version 8.5.0 [1].

Vulnerability identification

CVE IDVendorProductCWECVSS 4.0CVSS 3.1PublishedLast ModifiedRecord Status
CVE-2026-126451OpenEMROpenEMRCWE-798.5 HIGH, scored by disclosure@vulncheck.com (Secondary)5.4 MEDIUM, scored by nvd@nist.gov (Primary)2026-11-132026-11-16Analyzed

Vulnerability description

A stored cross-site scripting issue exists in OpenEMR versions prior to 8.5.0. Portal patients can inject javascript: URLs into document templatedata, which run in staff sessions [1]. This allows malicious scripts to access protected health information and CSRF tokens, and trigger staff or admin functions [1].

Attack surface and exploitation prerequisites

The vulnerability requires an attacker to submit an encounterForm value that is processed into an iframe src by DocumentTemplateRender. The CVSS vector indicates that user interaction is necessary [1].

Impact analysis

The CVSS 3.1 vector indicates that the vulnerability has limited confidentiality and integrity risks, with no impact on system availability [1]. The description notes that attackers may access protected health information and CSRF tokens, and execute staff or admin actions [1].

Affected products and versions

AffectedFixed
openemr < 8.5.08.5.0

Exploitation and threat intelligence status

CVE-2026-126451 is not included in the CISA KEV catalog as of 2026-11-24 [2]. The EPSS score estimates a 0.27% chance of exploitation within the next 30 days, with a percentile of 0.2001 [3].

Detection and exposure assessment

Users can determine if they are vulnerable by checking whether their installed version of OpenEMR is below 8.5.0 [1].

Remediation

The vendor has resolved the vulnerability in version 8.5.0 [1].

Remediation checklist

  1. Upgrade OpenEMR to version 8.5.0 to resolve the vulnerability [1].
  2. Audit document templates for potential injection points.
  3. Monitor system logs for signs of unusual script execution.

Evidence gaps

  • The sources do not describe the technical mechanics of the flaw.
  • The sources do not mention indicators of compromise.
  • The sources do not provide a workaround for affected systems.
  • The sources do not describe a scenario for exploitation.
  • The sources do not describe the product's internal workings.

References

  1. CVE-2026-126451 record. NIST National Vulnerability Database (NVD), 2026-11-16. https://nvd.nist.gov/vuln/detail/CVE-2026-126451. Accessed 2026-11-24. CVE record, CVSS scores, affected versions, vulnerability description, impact analysis, remediation
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-24. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-24. Exploitation status
  3. EPSS score for CVE-2026-126451. FIRST, 2026-11-24. https://api.first.org/data/v1/epss?cve=CVE-2026-126451. Accessed 2026-11-24. EPSS score and threat intelligence status

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 8.5 CVSS 4.0 base score from the CNA (vulncheck.com)

An attacker with a normal user account can exploit this over the network if a user views or visits something.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Special conditions
none
Login needed
yes, a normal user account
User action needed
yes, a user must view or visit something
Impact
high on confidentiality and integrity, none on availability
Impact on other systems
none

Vector 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/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 · CVSS 3.1 5.4 from NVD: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected and fixed versions

ProductAffected versionsFixed in
openemr< 8.5.08.5.0

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

Public exploits

Exploit available Exploit code or a detailed exploitation write-up is public, so attacks are easier to carry out.

References by type

Other references

Details from NVD (public domain).

Affected

  • openemr

Frequently asked questions

What is CVE-2026-126451?

CVE-2026-126451 impacts OpenEMR versions prior to 8.5.0, enabling attackers to insert harmful scripts into document templates. The CVSS 3.1 rating is 5.4 MEDIUM, assigned by NVD. The reviewed sources do not confirm exploitation. The recommended action is to upgrade to the patched version 8.5.0. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).

How severe is CVE-2026-126451?

CVE-2026-126451 has a CVSS 4.0 base score of 8.5 (high), from the CNA (vulncheck.com). An attacker with a normal user account can exploit this over the network if a user views or visits something.

Is CVE-2026-126451 being exploited?

Not as far as is known: CVE-2026-126451 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. Exploit code or a proof of concept has been published, which makes attacks more likely. EPSS estimates a 0.8% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-126451?

openemr < 8.5.0 (fixed in 8.5.0).

How do I fix CVE-2026-126451?

Upgrade OpenEMR to version 8.5.0 to resolve the vulnerability. Audit document templates for potential injection points. Monitor system logs for signs of unusual script execution.

Timeline & sources

References

Related vulnerabilities & news