{
  "id": "CVE-2026-103935",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-103935",
  "published_at": "2026-11-05T19:59:37.199Z",
  "title": "OpenEMR: Stored XSS via `text()` Misuse in Double-Quoted HTML Attribute",
  "vendor": "openemr",
  "product": "openemr",
  "cvss": {
    "score": 8.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-79",
  "cpes": [
    "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "openemr",
        "product": "openemr",
        "ranges": [
          "\u003c 8.3.0"
        ],
        "fixed_in": [
          "8.3.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade openemr to 8.3.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/openemr/openemr/security/advisories/GHSA-pm2v-5p99-37p2"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/openemr/openemr/pull/13192"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/openemr/openemr/commit/d301444f6c4d9c4fa732ce57f3989214081c6108"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/openemr/openemr/releases/tag/v8_3_0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
