Lucene search

K
huntrBugruto74DDB017-C1FD-4E72-BD30-3B2033911472
HistoryMay 10, 2022 - 9:18 a.m.

Cross-site Scripting (XSS) - Stored

2022-05-1009:18:44
bugruto
www.huntr.dev
19
openemr
stored
cross-site scripting
xss
patient portal
security vulnerability
bug bounty

EPSS

0.016

Percentile

87.3%

Description

openemr / openemr is vulnerable to Cross-site Scripting (XSS) - Stored

Proof of Concept

// Poc 
<script>alert(document.cookie)</script>

steps to reproduce:

1) login open emr patient portal https://demo.openemr.io/openemr/portal/index.php

2) goto my profile in https://demo.openemr.io/openemr/portal/home.php

ā€‹3)click on pending review.

4)add the payload in the first name /middle name  (<script>alert(document.cookie)</script>)

5) click  submit changes

6) after that we get an with Error: Patient was successfully updated

7) on clicking  pending review  the xss wil be triggered

EPSS

0.016

Percentile

87.3%

Related for 74DDB017-C1FD-4E72-BD30-3B2033911472