{"id":"CVE-2026-126493","title":"OpenEMR before 8.5.0 Stored XSS via OnsitePortalActivity tableArgs","summary":"OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability that allows low-privileged patient portal users to inject JavaScript via the tableArgs field of the onsiteportalactivity API. Attackers can store a payload with sp…","severity":"medium","cvss":5.4,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","cvssSource":"cna","cwe":["CWE-79"],"vendor":"openemr","product":"openemr","affected":["openemr < 8.5.0"],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-13T19:23:48.314092Z"},"exploitAvailable":true,"published":"2026-11-13","updated":"2026-11-13","sourceUpdated":"2026-11-13T19:24:15.882Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-126493","references":[{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-r4hm-frcj-qr39","label":"GitHub Security Advisory (GHSA-r4hm-frcj-qr39)"},{"url":"https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-xss-via-onsiteportalactivity-tableargs","label":"VulnCheck Advisory: OpenEMR before 8.5.0 Stored XSS via OnsitePortalActivity tableArgs"}],"tags":["cve.org","exploit-available"],"epss":0.00239,"epssPercentile":0.1495,"ingestedAt":"2026-11-13T10:36:39.602Z","slug":"CVE-2026-126493","body":"## Overview\n\nOpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability that allows low-privileged patient portal users to inject JavaScript via the tableArgs field of the onsiteportalactivity API. Attackers can store a payload with spaces that breaks out of an unquoted data-delete-id attribute, executing script when providers click the delete button on the audit review page.\n\n## Affected\n\n- `openemr < 8.5.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":42,"depthScoreParts":{"impact":29.7,"likelihood":0,"exploitation":12,"ransomware":0},"changes":[{"seq":239039,"id":"CVE-2026-126493","ts":1794599769831,"field":"exploit_available","old":"false","new":"true"}]}