{
  "id": "CVE-2026-33346",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-33346",
  "published_at": "2026-03-19T20:33:10.437Z",
  "title": "OpenEMR has stored XSS in portal_payment.php via Unescaped table_args",
  "vendor": "openemr",
  "product": "openemr",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/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.0.0.2, a stored cross-site scripting (XSS) vulnerability in the patient portal payment flow allows a patient portal user to persist arbitrary JavaScript that executes in the browser of a staff member who reviews the payment submission. The payload is stored via `portal/lib/paylib.php` and rendered without escaping in `portal/portal_payment.php`. Version 8.0.0.2 fixes the issue.",
  "cwe": "CWE-79",
  "cpes": [
    "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "openemr",
        "product": "openemr",
        "ranges": [
          "\u003c 8.0.0.2"
        ],
        "fixed_in": [
          "8.0.0.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade openemr to 8.0.0.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/openemr/openemr/security/advisories/GHSA-qvf6-6xc6-9qv7"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/openemr/openemr/commit/6e9e1566d6e271a6d839614674b887e3a73d7da1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
