CVE-2026-32118

OpenEMR has Stored XSS in Graphical Pain Map legend via unescaped annotation text

Published Mar 11, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.0.0.1, stored cross-site scripting (XSS) in the Graphical Pain Map ("clickmap") form allows any authenticated clinician to inject arbitrary JavaScript that executes in the browser of every subsequent user who views the affected encounter form. Because session cookies are not marked HttpOnly, this enables full session hijacking of other users, including administrators. This vulnerability is fixed in 8.0.0.1.

Analysis

AI-generated

Technical impact

Prior to OpenEMR version 8.0.0.1, any authenticated clinician can insert arbitrary JavaScript into the annotation text of the Graphical Pain Map legend. When other users view the encounter form, the injected script executes in their browsers. Because the session cookies are not marked HttpOnly, an attacker can hijack the session of any subsequent viewer, including administrative users. This enables a breach of confidentiality, integrity, and availability through credential theft and unauthorized actions within the application.

Affected Systems

The vulnerability affects OpenEMR releases before 8.0.0.1. All installations of the openemr:openemr product that have not applied the 8.0.0.1 fix are susceptible.

Risk and Exploitability

The CVSS score of 5.4 indicates a medium severity. The EPSS score of less than 1% suggests that, so far, exploitation is unlikely to be widespread. The vulnerability is not listed in CISA’s KEV catalog. Exploitation requires an authenticated clinician account with access to the Graphical Pain Map, but once a credential is used, the impact can be immediate and broad across all users who view the affected encounter.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply OpenEMR patch to upgrade to release 8.0.0.1 or later

Generated by OpenCVE AI on March 17, 2026 at 16:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Open-emr
Open-emr openemr
CPEs cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
Vendors & Products Open-emr
Open-emr openemr
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Openemr
Openemr openemr
Vendors & Products Openemr
Openemr openemr
Type Values Removed Values Added
Description OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.0.0.1, stored cross-site scripting (XSS) in the Graphical Pain Map ("clickmap") form allows any authenticated clinician to inject arbitrary JavaScript that executes in the browser of every subsequent user who views the affected encounter form. Because session cookies are not marked HttpOnly, this enables full session hijacking of other users, including administrators. This vulnerability is fixed in 8.0.0.1.
Title OpenEMR has Stored XSS in Graphical Pain Map legend via unescaped annotation text
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 12, 2026, 2:06 PM
Reserved
Mar 10, 2026, 10:02 PM
Status
Analyzed
Published
Mar 11, 2026, 9:16 PM
Modified
Jun 17, 2026, 10:35 AM