Lucene search

K
huntrB3ef1-OTHER-MONICA
HistorySep 01, 2020 - 12:00 a.m.

Cross-site Scripting (XSS) - Stored in monicahq/monica

2020-09-0100:00:00
b3ef
www.huntr.dev
7
stored xss
html injection
persistent xss
docker
sanitization
bug bounty

EPSS

0.001

Percentile

26.4%

Description

HTML codes can be entered and successfully run in the journal session of Monica, which allows an attacker to trigger XSS query’s like <svg/onload=alert("StoredXSS")> causing a persistant stored XSS in the journal session.
files at monica/2.
<3

POC

  1. setup monica using docker or other means like their online test platform.
  2. go to the journal part.
  3. try payload &lt;svg/onload=alert("blah!!,blah!!!,blah!!!!")&gt;

Fix Suggestion

  • Sanitize the input / escape the xss charecters or else escape the user inputs from html tags, i think it works.

EPSS

0.001

Percentile

26.4%

Related for 1-OTHER-MONICA