Lucene search

K
huntrR0hansh67085545-331E-4469-90F3-A1A46A078D39
HistoryJan 02, 2022 - 10:01 p.m.

Cross-site Scripting (XSS) - Stored in getgrav/grav

2022-01-0222:01:57
r0hansh
www.huntr.dev
9

0.001 Low

EPSS

Percentile

21.6%

Description

Stored XSS is a vulnerability in which the attacker can execute arbitrary javascript code in the victim’s browser. The XSS payload is stored in a webpage and it gets executed whenever someone visits that webpage.

I used &#58 instead of : in the href attribute of <a> tag to bypass the xss checks happening in the application.

Proof of Concept

1 A low-priv user create a page with the following payload:

<a href>CLICK HERE TO EXPLOIT THIS XSS</a>

2 Victim visit the page and click on CLICK HERE TO EXPLOIT THIS XSS

XSS alert will show the domain name.

Impact

Attacker can execute arbitrary javascript code in the victim’s browser

0.001 Low

EPSS

Percentile

21.6%

Related for 67085545-331E-4469-90F3-A1A46A078D39