Lucene search

K
huntrMike993F353ADFB-E5B8-43E7-957A-894670FD4CCD
HistorySep 13, 2022 - 11:19 p.m.

Stored XSS

2022-09-1323:19:05
mike993
www.huntr.dev
12
openemr
stored xss
user manual link override

EPSS

0.009

Percentile

82.5%

Description

openemr has a feature to customize the “User Manual Link Override” , due to a bad sanitization it allows to put javascript:// scheme which allows to execute javascript code.

Proof of Concept

  1. login with admin
  2. go on Global Settings - Branding
  3. Edit User Manual Link Override Field
  4. insert the payload
  5. logout with admin
  6. login as any user and go on “About OpenEMR”
  7. Click User Manual Button
PAYLOAD:  javascript:alert(document.cookie)

Video PoC
StoredXSS

EPSS

0.009

Percentile

82.5%

Related for F353ADFB-E5B8-43E7-957A-894670FD4CCD