Lucene search

K
huntrM0ck3dC3CE85A1-72C0-4D6C-8CF5-4CBE059B5CBA
HistoryAug 05, 2023 - 2:12 p.m.

Multiple Stored XSS Found

2023-08-0514:12:25
m0ck3d
www.huntr.dev
2
stored xss
web security
input validation
data sanitization
javascript
payloads
login
profile page
data theft
account compromise
bug bounty

0.001 Low

EPSS

Percentile

21.1%

Description

Stored XSS (Cross-Site Scripting) is a type of web security vulnerability caused by improper input validation and inadequate data sanitization in a web application. It occurs when an attacker injects malicious scripts (usually in the form of HTML or JavaScript) into a website’s database or storage, which is then fetched and displayed to unsuspecting users. These scripts are executed in the browsers of those who visit the infected page, enabling the attacker to steal sensitive information, such as login credentials or personal data, and potentially take control of the user’s account or perform malicious actions on their behalf. To prevent stored XSS, developers must implement proper input validation and output encoding to ensure that user-supplied data is treated as plain text and not executed as code on the web page.

Proof of Concept

  1. Register New User
  2. Enter the following XSS Payload for First Name, Last Name, and City input fields:
// PoC.js
<script>alert(1)</script>
  1. Login with user
  2. Once logged in you will see alert boxes for First Name and Last Name
  3. Navigate to Profile Page, you will see alert boxes for First Name, Last Name, and City

ScreenShots

  1. XSS Payloads in Fields
  2. XSS Executed First Name
  3. XSS Executed Last Name
  4. XSS Executed City

0.001 Low

EPSS

Percentile

21.1%

Related for C3CE85A1-72C0-4D6C-8CF5-4CBE059B5CBA