---
id: CVE-2026-103935
title: 'OpenEMR: Stored XSS via `text()` Misuse in Double-Quoted HTML Attribute'
summary: >-
  OpenEMR is a free and open source electronic health records and medical
  practice management application. Prior to 8.3.0,
  interface/forms/transfer_summary/new.php and
  interface/forms/functional_cognitive_status/new.php render stored trans…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'
cvssSource: cna
cwe:
  - CWE-79
vendor: openemr
product: openemr
affected:
  - openemr < 8.3.0
published: '2026-11-05'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T19:59:37.199Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-103935'
references:
  - url: 'https://github.com/openemr/openemr/security/advisories/GHSA-pm2v-5p99-37p2'
    label: 'https://github.com/openemr/openemr/security/advisories/GHSA-pm2v-5p99-37p2'
  - url: 'https://github.com/openemr/openemr/pull/13192'
    label: 'https://github.com/openemr/openemr/pull/13192'
  - url: >-
      https://github.com/openemr/openemr/commit/d301444f6c4d9c4fa732ce57f3989214081c6108
    label: >-
      https://github.com/openemr/openemr/commit/d301444f6c4d9c4fa732ce57f3989214081c6108
  - url: 'https://github.com/openemr/openemr/releases/tag/v8_3_0'
    label: 'https://github.com/openemr/openemr/releases/tag/v8_3_0'
tags:
  - cve.org
ingestedAt: '2026-11-05T22:38:31.609Z'
epss: 0.00341
epssPercentile: 0.27755
---

## Overview

OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.3.0, interface/forms/transfer_summary/new.php and interface/forms/functional_cognitive_status/new.php render stored transfer_to, code, and codetext values with text(), which uses ENT_NOQUOTES, inside double-quoted HTML value attributes. An authenticated clinical user can store a value containing a double quote that escapes the attribute and injects event-handler markup when another clinician opens the form. Successful exploitation can expose session data and protected health information or permit patient-record actions in the victim's session. This issue is fixed in version 8.3.0.

## Affected

- `openemr < 8.3.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
