OpenEMRに保存型XSSの脆弱性、職員のセッションで任意のスクリプトが実行される
Summary
患者ポータルの利用者が文書テンプレートに細工した値を入れると、職員のセッションでJavaScriptが実行される保存型のクロスサイトスクリプティングの脆弱性です。スクリプトから患者の医療情報やCSRFトークンが読み取られ、職員や管理者向けの機能が呼び出されるおそれがあります。影響するのは8.5.0より前のOpenEMRで、8.5.0に修正版が公開されています。8.5.0以降へ早めに更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
患者ポータルの利用者が文書テンプレートに細工した値を入れると、職員のセッションでJavaScriptが実行される保存型のクロスサイトスクリプティングの脆弱性です。スクリプトから患者の医療情報やCSRFトークンが読み取られ、職員や管理者向けの機能が呼び出されるおそれがあります。影響するのは8.5.0より前のOpenEMRで、8.5.0に修正版が公開されています。8.5.0以降へ早めに更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| openemropenemr |
< 8.5.0→ 8.5.0 |
8.5.0 |
Original description The description as published by the source.
OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability that allows portal patients to run JavaScript in staff sessions by injecting javascript: URLs into document template_data. Attackers can submit an encounterForm value rendered unsanitized into an iframe src by DocumentTemplateRender, letting the script read PHI and CSRF tokens and call staff or admin endpoints.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- web github.com