{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-126425","id":"CVE-2026-126425","title":"OpenEMR before 8.5.0 Stored SQL Injection via History Layout Field Identifiers","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 ","descriptionLong":"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.","published":"2026-11-13T09:35:30.379Z","updated":"2026-11-18T21:01:11.596335617Z","reserved":"2026-11-10T21:36:07.090Z","status":"PUBLISHED","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":4.6,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:H/SI:N/SA:N","rating":"medium","source":"VulnCheck"},"metrics":[{"version":"4.0","score":4.6,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:H/SI:N/SA:N","rating":"medium","source":"VulnCheck"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:H/SI:N/SA:N","rating":"unrated","source":"OSV"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:L","rating":"high","source":"VulnCheck"}],"rating":"medium","products":["openemr"],"affectedProducts":[{"vendor":"openemr","product":"openemr","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","versionType":"semver","lessThan":"8.5.0"},{"version":"8.5.0","status":"unaffected","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-89"],"aliases":["GHSA-fq58-jp5g-x44q"],"references":[{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-fq58-jp5g-x44q","tags":["vendor-advisory","advisory"]},{"url":"https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-sql-injection-via-history-layout-field-identifiers","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126425.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126425","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00287,"epssPercentile":0.21786,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-126425","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126425","ok":false,"note":"unavailable (rate limited?)"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-126425","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-126425","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}