Description
OpenEMR before 8.3.0 contains a stored cross-site scripting vulnerability in the CCDA/CCD preview stylesheets, where cda.xsl copies event-handler attributes whose values evade a character denylist and ccd.xsl copies table-cell attributes unsanitized into preview HTML. Authenticated users can upload a crafted CCDA/CCD document with onmouseover, onclick, or onfocus handlers to execute script in a clinician's session when previewed.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| openemr | openemr | < 8.3.0 | 8.3.0 |
References
- GitHub Security Advisory (GHSA-rghp-vwvf-c2r9) vendor-advisory
- VulnCheck Advisory: OpenEMR before 8.3.0 Stored XSS via CCDA/CCD Preview XSLT Attributes third-party-advisory