{
  "id": "CVE-2026-126425",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-126425",
  "published_at": "2026-11-13T09:35:30.379Z",
  "title": "OpenEMR before 8.5.0 Stored SQL Injection via History Layout Field Identifiers",
  "vendor": "openemr",
  "product": "openemr",
  "cvss": {
    "score": 7.2,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:L"
  },
  "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 before 8.5.0 contains a stored SQL injection vulnerability in which History layout field identifiers saved through edit_layout.php, including HIS fields and LBF source-H fields, are placed unvalidated into an INSERT statement for patients without a history_data row. Users with admin/super and patients/med write access can trigger history_save.php or LBF saves to execute SQL functions like SLEEP, tying up database workers or accessing data beyond their privileges.",
  "cwe": "CWE-89",
  "cpes": [
    "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "openemr",
        "product": "openemr",
        "ranges": [
          "\u003c 8.5.0"
        ],
        "fixed_in": [
          "8.5.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade openemr to 8.5.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/openemr/openemr/security/advisories/GHSA-fq58-jp5g-x44q"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
