CVE-2026-40507

MEDIUMPre-NVD 6.16.1—
EchelonGraph scoreMEDIUM confidence

Score 6.1 from GitHub Security Advisory published 2026-08-19. The CNA's CVSS baseline 6.1; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: cna:vulncheck, epss, ghsa
Trending — 3 sources updated this weekElevated
6.1EG
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS PROB: 0.3%CVSS: 6.1Exploit: Elevated riskExposed services: Not assessed

A fix is available — apply it.

OpenEMR before 8.3.0 contains a reflected cross-site scripting vulnerability in the patient portal template import handler. The templateHtml GET parameter is reflected into the page response without sanitization. An attacker can craft a URL that executes arbitrary JavaScript in the browser of any authenticated user with Forms Administration permissions who visits the link, enabling session hijacking.

CVSS v3
6.1
EG Score
6.1MEDIUMmedium confidence
EG Risk
43
EG Risk 43/100CISA SSVC

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity61% × 45%
Exploitation40% × 40%
Automatability0% × 15%
CISA SSVC: Track at low or medium mission impact; Track* at high (mission-essential systems).
Action: A fix is available. Apply it within your standard update timelines.
EPSS PROB
0.3%
EPSS %ILE
24th
KEV
Not listed

CISA SSVCTrack at low or medium mission impact; Track* at high (mission-essential systems).

A fix is available. Apply it within your standard update timelines.

Exploitation public PoC (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table

Published

August 19, 2026

Last Modified

October 1, 2026

Advisory Details (4)

Auto-updated Aug 19, 2026
🔬 Proof of concept available. Patch available. Sources: github_release, github_commit, github.
generic

OpenEMR < 8.3.0 Reflected XSS via templateHtml Parameter in Patient Portal | Advisories | VulnCheck

https://www.vulncheck.com/advisories/openemr-reflected-xss-via-templatehtml-parameter-in-patient-portal
github_commit

commit ba316dd1d8de (openemr/openemr)

Fix landed in openemr/openemr commit ba316dd1d8de — awaiting tagged release

https://github.com/openemr/openemr/commit/ba316dd1d8de1291102da3f20f64240729ff899e
github_release Patch Available

OpenEMR 8.3.0

Patch available: openemr/openemr v8_3_0

https://github.com/openemr/openemr/releases/tag/v8_3_0
github Patch Available🟡 PoC Available

/portal/import_template.php templateHtml Reflected Cross-Site Scripting · Advisory · openemr/openemr · GitHub

https://github.com/openemr/openemr/security/advisories/GHSA-rmmr-8498-463g

Vendor Advisories for CVE-2026-40507(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 17× in last 7d / 75× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 126 total refreshes for this CVE.

  1. 2026-10-04 23:22 UTCEPSS rescore
  2. 2026-10-04 21:26 UTCGHSA enrichment
  3. 2026-10-03 16:57 UTCEG score recompute
  4. 2026-10-03 16:57 UTCGHSA enrichment
  5. 2026-10-03 14:25 UTCEPSS rescore
  6. 2026-10-02 15:54 UTCEG score recompute
  7. 2026-10-02 15:54 UTCGHSA enrichment
  8. 2026-10-01 19:50 UTCEPSS rescore
  9. 2026-10-01 15:29 UTCEG score recompute
  10. 2026-10-01 15:29 UTCGHSA enrichment
  11. 2026-10-01 09:14 UTCEG score recompute
  12. 2026-10-01 09:14 UTCGHSA enrichment
  13. 2026-09-30 15:03 UTCEPSS rescore
  14. 2026-09-30 08:49 UTCEG score recompute
  15. 2026-09-30 08:49 UTCGHSA enrichment
  16. 2026-09-29 07:52 UTCEG score recompute
  17. 2026-09-29 07:52 UTCGHSA enrichment
  18. 2026-09-28 07:26 UTCEG score recompute
  19. 2026-09-28 07:26 UTCGHSA enrichment
  20. 2026-09-27 13:48 UTCEPSS rescore
  21. 2026-09-27 07:01 UTCEG score recompute
  22. 2026-09-27 07:01 UTCGHSA enrichment
  23. 2026-09-26 15:58 UTCEPSS rescore
  24. 2026-09-25 04:59 UTCEG score recompute
  25. 2026-09-25 04:59 UTCGHSA enrichment
Show 75 more
  1. 2026-09-24 04:33 UTCEG score recompute
  2. 2026-09-24 04:33 UTCGHSA enrichment
  3. 2026-09-23 17:53 UTCEPSS rescore
  4. 2026-09-23 04:06 UTCEG score recompute
  5. 2026-09-23 04:06 UTCGHSA enrichment
  6. 2026-09-22 03:38 UTCEG score recompute
  7. 2026-09-22 03:38 UTCGHSA enrichment
  8. 2026-09-21 03:13 UTCEG score recompute
  9. 2026-09-21 03:13 UTCGHSA enrichment
  10. 2026-09-20 20:15 UTCEPSS rescore
  11. 2026-09-20 02:45 UTCEG score recompute
  12. 2026-09-20 02:45 UTCGHSA enrichment
  13. 2026-09-19 02:18 UTCEG score recompute
  14. 2026-09-19 02:18 UTCGHSA enrichment
  15. 2026-09-18 19:28 UTCEPSS rescore
  16. 2026-09-18 19:28 UTCEPSS rescore
  17. 2026-09-18 01:43 UTCEG score recompute
  18. 2026-09-18 01:43 UTCGHSA enrichment
  19. 2026-09-17 19:30 UTCEPSS rescore
  20. 2026-09-17 01:17 UTCEG score recompute
  21. 2026-09-17 01:17 UTCGHSA enrichment
  22. 2026-09-16 14:08 UTCEPSS rescore
  23. 2026-09-16 05:15 UTCEPSS rescore
  24. 2026-09-16 00:51 UTCEG score recompute
  25. 2026-09-16 00:51 UTCGHSA enrichment
  26. 2026-09-15 03:11 UTCEPSS rescore
  27. 2026-09-14 23:54 UTCGHSA enrichment
  28. 2026-09-13 22:34 UTCEG score recompute
  29. 2026-09-13 22:34 UTCGHSA enrichment
  30. 2026-09-13 16:47 UTCEPSS rescore
  31. 2026-09-12 22:08 UTCEG score recompute
  32. 2026-09-12 22:08 UTCGHSA enrichment
  33. 2026-09-12 15:01 UTCEPSS rescore
  34. 2026-09-11 21:42 UTCEG score recompute
  35. 2026-09-11 21:42 UTCGHSA enrichment
  36. 2026-09-11 14:53 UTCEPSS rescore
  37. 2026-09-11 09:37 UTCEPSS rescore
  38. 2026-09-10 21:16 UTCEG score recompute
  39. 2026-09-10 21:16 UTCGHSA enrichment
  40. 2026-09-10 09:34 UTCEPSS rescore
  41. 2026-09-09 20:50 UTCGHSA enrichment
  42. 2026-09-09 02:38 UTCEG score recompute
  43. 2026-09-09 02:38 UTCGHSA enrichment
  44. 2026-09-08 22:00 UTCEPSS rescore
  45. 2026-09-07 16:01 UTCEPSS rescore
  46. 2026-09-07 09:52 UTCEG score recompute
  47. 2026-09-07 09:51 UTCGHSA enrichment
  48. 2026-09-06 13:47 UTCEPSS rescore
  49. 2026-09-06 09:17 UTCEG score recompute
  50. 2026-09-06 09:17 UTCGHSA enrichment
  51. 2026-09-05 08:42 UTCEG score recompute
  52. 2026-09-05 08:42 UTCGHSA enrichment
  53. 2026-09-04 08:16 UTCEG score recompute
  54. 2026-09-04 08:16 UTCGHSA enrichment
  55. 2026-09-04 05:06 UTCEPSS rescore
  56. 2026-09-03 07:46 UTCEG score recompute
  57. 2026-09-03 07:46 UTCGHSA enrichment
  58. 2026-09-02 14:12 UTCEPSS rescore
  59. 2026-09-02 07:18 UTCEG score recompute
  60. 2026-09-02 07:17 UTCGHSA enrichment
  61. 2026-09-01 13:53 UTCEPSS rescore
  62. 2026-09-01 06:52 UTCEG score recompute
  63. 2026-09-01 06:52 UTCGHSA enrichment
  64. 2026-09-01 04:39 UTCEPSS rescore
  65. 2026-08-31 06:19 UTCEG score recompute
  66. 2026-08-31 06:19 UTCGHSA enrichment
  67. 2026-08-30 19:17 UTCEPSS rescore
  68. 2026-08-30 05:46 UTCEG score recompute
  69. 2026-08-30 05:46 UTCGHSA enrichment
  70. 2026-08-30 01:22 UTCEPSS rescore
  71. 2026-08-29 05:20 UTCEG score recompute
  72. 2026-08-29 05:20 UTCGHSA enrichment
  73. 2026-08-28 21:41 UTCEPSS rescore
  74. 2026-08-28 04:40 UTCEG score recompute
  75. 2026-08-28 04:40 UTCGHSA enrichment

Frequently asked(5)

What is CVE-2026-40507?
CVE-2026-40507 is a medium vulnerability published on August 19, 2026. OpenEMR before 8.3.0 contains a reflected cross-site scripting vulnerability in the patient portal template import handler. The templateHtml GET parameter is reflected into the page response without sanitization. An attacker can craft a URL that executes arbitrary JavaScript in the browser of any…
When was CVE-2026-40507 disclosed?
CVE-2026-40507 was first published on August 19, 2026, with the most recent update on October 1, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-40507 actively exploited?
CVE-2026-40507 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0.3% probability of exploitation in the next 30 days (24th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2026-40507?
CVE-2026-40507 has a CVSS base score of 6.1 (the CNA's own assessment, by vulncheck; NVD's own analysis pending).
How do I remediate CVE-2026-40507?
A fix for CVE-2026-40507 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2026-40507 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-40507

Explore →

Is Your Infrastructure Affected by CVE-2026-40507?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.