{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "8.5.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "c1b2b8bcbe91aa81858f7ba8b25c31d9a82639a5"
            }
          ],
          "repo": "https://github.com/openemr/openemr",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-c997-5w2m-grrf"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126484.json"
  },
  "details": "OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability in printed_fee_sheet.php that allows authenticated portal patients to inject script by setting unescaped appointment comments (pc_hometext). Attackers can submit HTML payloads via the form_comments field in add_edit_event_user.php that execute when staff open the patient's fee sheet, acting within the staff session.",
  "id": "CVE-2026-126484",
  "modified": "2026-11-14T02:30:19.664764035Z",
  "published": "2026-11-13T09:34:50.915Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126484.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/openemr/openemr/security/advisories/GHSA-c997-5w2m-grrf"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126484"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-xss-via-printed-fee-sheet-appointment-comments"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "OpenEMR before 8.5.0 Stored XSS via Printed Fee Sheet Appointment Comments"
}