CVE-2026-103935 OpenEMR: Stored XSS via `text()` Misuse in Double-Quoted HTML Attribute
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- PHP
Description
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.3.0, interface/forms/transfer_summary/new.php and interface/forms/functional_cognitive_status/new.php render stored transfer_to, code, and codetext values with text(), which uses ENT_NOQUOTES, inside double-quoted HTML value attributes. An authenticated clinical user can store a value containing a double quote that escapes the attribute and injects event-handler markup when another clinician opens the form. Successful exploitation can expose session data and protected health information or permit patient-record actions in the victim's session. This issue is fixed in version 8.3.0.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| open-emr openemr | < 8.3.0 | 8.3.0 | Fixed |
| openemr | = < 8.3.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openemr | = < 8.3.0 | No fix listed |
| open-emr openemr | < 8.3.0 | 8.3.0 |
References
- https://github.com/openemr/openemr/security/advisories/GHSA-pm2v-5p99-37p2 exploit vendor-advisory
- https://github.com/openemr/openemr/pull/13192 issue-tracking patch
- https://github.com/openemr/openemr/commit/d301444f6c4d9c4fa732ce57f3989214081c6108 patch
- https://github.com/openemr/openemr/releases/tag/v8_3_0 product release-notes
- ENISA EUVD EUVD-2026-117770 third-party-advisory