---
id: "CVE-2026-126474"
page: "https://infrastack.ai/live/CVE-2026-126474"
kind: "vulnerability"
aliases: ["CVE-2026-126474"]
title: "OpenEMR: reflected cross-site scripting in ACL module steals sessions"
severity: "medium"
cvss: 6.1
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["healthcare", "openemr", "other", "self-hosted"]
not_affected_if: ["version-8.5.0-or-later"]
published_at: "2026-11-13T10:17:56+00:00"
first_seen_at: "2026-11-13T10:47:25+00:00"
updated_at: "2026-11-13T10:56:27+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126474", "first_seen_at": "2026-11-13T10:47:25+00:00"}]
exploit_sources: []
---

# OpenEMR: reflected cross-site scripting in ACL module steals sessions

Link for people: https://infrastack.ai/live/CVE-2026-126474 (this .md is for agents)

OpenEMR before 8.5.0 has a reflected cross-site scripting flaw in its ACL module, triggered through the module_id parameter on acl/index and acl/acl links. An attacker who gets a logged-in user to open a crafted link can run JavaScript in that session, steal non-HttpOnly session cookies and change ACL configuration.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed OpenEMR version in the application's version setting or `version.php` and compare it with `8.5.0`.
- Confirm whether the instance is reachable by users who open links from email or other sites.

## Fix

- OpenEMR versions before `8.5.0`: move to `8.5.0` or later, per the NVD description.

## Timeline

- 2026-11-13T10:47:25+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-126474

## Documents

- [advisory] Vendor advisory: github.com https://github.com/openemr/openemr/security/advisories/GHSA-mccm-83g2-7v57
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/openemr-before-8.5.0-reflected-xss-via-acl-module-module-id-parameter

## From the sources

OpenEMR before 8.5.0 contains a reflected cross-site scripting vulnerability in the ACL module that allows attackers to execute JavaScript in authenticated sessions via the module_id parameter. Attackers can deliver crafted acl/index or acl/acl links that inject unencoded input into inline script blocks, stealing non-HttpOnly session cookies and modifying ACL configuration.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
