Lucene search

K
huntrSampritdas8B0C4F992-4AC8-4479-82F4-367ED1A2A826
HistoryMar 19, 2022 - 3:51 p.m.

Stored XSS viva .svg file upload

2022-03-1915:51:19
sampritdas8
www.huntr.dev
34
stored xss
svg file upload
malicious scripts
session hijacking
sensitive data exposure
bug bounty

EPSS

0.001

Percentile

21.4%

Description

The application allows .svg files to upload which lead to stored XSS

Proof of Concept

1.Download the payload from this link:- https://drive.google.com/file/d/1c1BP5bxXBxtwLfRJTrEPgMWK1yVFDF2R/view?usp=sharing and upload it on your profile.

2.Now open the path of the uploaded image ( Either by right click on image then copy image address OR right-click, inspect the image, the URL will come in the inspect, edit it as HTML )

3.Then XSS will trigger for allowing malicious svg extension.

Video PoC

https://drive.google.com/file/d/1_KOXMP_-jMhF4jEtg6XI_NopDNp5ZRCM/view?usp=sharing

Impact

This allows attackers to execute malicious scripts in the user’s browser and it can lead to session hijacking, sensitive data exposure, and worse.

EPSS

0.001

Percentile

21.4%

Related for B0C4F992-4AC8-4479-82F4-367ED1A2A826