# Exploit Title: JobClass 4.2 - Geolocalized Job Board Script - Cross-Site Scripting
# Google Dork: N/A
# Date: 2018-08-16
# Exploit Author: Ali Alipour
# Vendor Homepage: https://codecanyon.net/item/jobclass-geolocalized-job-portal-script/18776089
# Software Link Download : http://dl.20script.ir/script/job/jobclass[www.20script.ir].zip
# Version: 4.2
# Tested on: Kali Linux / Windows 10
# Proof of Concepts:
1. Go to the site ( http://localhost/jobclass/ ) .
2- Select Register page (http://localhost/register) .
3- Create an account using your Email address .
4- Come back to site and Login using your Verified Mail and Password .
5- Select Post a Job (http://localhost/posts/create) .
6- Select New Company And fill in the parameters given .
7- Copy [ "><script>alert('Ali Alipour')</script> ] to Company Description and Submit .
8- Go to Company List Page ( http://localhost/companies/ ) .
9- Select And Open Your Company Page . You will having popup of Ali Alipour