OpenEMR has Stored XSS in Questionnaire answers
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0, users with the "Forms administration" role can fill questionnaires ("forms") in patient encounters. The answers to the forms are displayed on the encounter page and in the visit history for the users with the same role. There exists a stored cross-site scripting (XSS) vulnerability in the function to display the form answers, allowing any authenticated attacker with the specific role to insert arbitrary JavaScript into the system by entering malicious payloads to the form answers. The JavaScript code is later executed by any user with the form role when viewing the form answers in the patient encounter pages or visit history. Version 8.0.0 fixes the issue.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-25743
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:03 UTC · Revision 1
Source evidence
OpenEMR has Stored XSS in Questionnaire answers
core-osv · Original sourcePublished 25 Feb 2026, 18:33 UTC
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0, users with the "Forms administration" role can fill questionnaires ("forms") in patient encounters. The answers to the forms are displayed on the encounter page and in the visit history for the users with the same role. There exists a stored cross-site scripting (XSS) vulnerability in the function to display the form answers, allowing any authenticated attacker with the specific role to insert arbitrary JavaScript into the system by entering malicious payloads to the form answers. The JavaScript code is later executed by any user with the form role when viewing the form answers in the patient encounter pages or visit history. Version 8.0.0 fixes the issue.
osv:CVE-2026-25743
Complete source record
{
"id": "927b58ad9dfff066bbde2308b3f89df3230eca648f390176895ef3d7a4e9bf0a",
"url": "https://osv.dev/vulnerability/CVE-2026-25743",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "OpenEMR has Stored XSS in Questionnaire answers",
"summary": "OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0, users with the \"Forms administration\" role can fill questionnaires (\"forms\") in patient encounters. The answers to the forms are displayed on the encounter page and in the visit history for the users with the same role. There exists a stored cross-site scripting (XSS) vulnerability in the function to display the form answers, allowing any authenticated attacker with the specific role to insert arbitrary JavaScript into the system by entering malicious payloads to the form answers. The JavaScript code is later executed by any user with the form role when viewing the form answers in the patient encounter pages or visit history. Version 8.0.0 fixes the issue.",
"evidence": "osv:CVE-2026-25743",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-25743",
"aliases": [
"CVE-2026-25743",
"GHSA-3xx2-qf6g-6p28"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/openemr/openemr",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "b91b73600327acb46252b9fce7d04467eea126fd"
},
{
"fixed": "da18f83f39648edc2463e8810757380a9f1d91de"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "8.0.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "da18f83f39648edc2463e8810757380a9f1d91de"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v3_0_1",
"v3_0_0",
"v2_9_0",
"v2_8_3",
"v2_8_2",
"v2_8_1",
"v2_8_0",
"v2_7_3-rc1",
"v2_7_2",
"v2_7_2-rc2",
"v2_7_2-rc1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25743.json"
}
}
],
"modified": "2026-10-28T02:30:38.111245779Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25743.json",
"https://github.com/openemr/openemr/security/advisories/GHSA-3xx2-qf6g-6p28",
"https://nvd.nist.gov/vuln/detail/CVE-2026-25743",
"https://github.com/openemr/openemr/commit/da18f83f39648edc2463e8810757380a9f1d91de"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25743.json"
}
},
"related_cves": [
{
"value": "CVE-2026-25743",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505108,
"published_at": "2026-02-25T18:33:56.62+00:00"
}