InJob <= 3.3.7 - Reflected & Persistent XSS



Description
Multiple XSS vulnerabilities have been founded in the «InJob | Multi-purpose for recruitment WordPress Theme» theme v3.3.6.


Edit (WPScanTeam):
September 16th, 2019 - Envato Contacted
September 16th, 2019 - v3.3.7 released. XSS still present
October 11th, 2019 - Envato contacted again for updates
October 14th, 2019 - Envato Investigating
October 21st, 2019 - v3.3.8 released, fixing the issues.
Proof of Concept
----[]- Reflected XSS: -[]----
Use your payload inside the «Enter Keywords» input field and then submit the form — payload will be triggered twice.

Payload Sample: <!--<img src="--><img src=x onerror=(alert)(document.cookie)//">

PoC Link: http://jobboard.inwavethemes.com/jobs/?keyword=%3C%21--%3Cimg+src%3D%22--%3E%3Cimg+src%3Dx+onerror%3D%28alert%29%28document.cookie%29%2F%2F%22%3E&iwj_location=&iwj_cat=&iwj_type=&iwj_skill=&iwj_level=&iwj_salary=


----[]- Persistent XSS #1: -[]----
You need a new basic user account, then go to the dashboard and edit your profile. Vulnerable input fields:
- «Phone» & «Headline *»;
- «Title» input field in the «Skills» section;
- «Title», «Description», «Date In - Date Out» & «Company Name» in the «Experiences» section;
- «Title», «Description» & «School Name» in the «Educations» section;
- «Address *» input field in the «Location & Map» section.
Use your payload inside any vulnerable input field and save your profile.

Payload Sample: <!--<img src="--><img src=x onerror=(alert)(document.cookie)//">

PoC: log in as candidate:demo (login/password) and go to the dashboard or as guest go to the http://jobboard.inwavethemes.com/employers?alpha=i page.


----[]- Persistent XSS #2: -[]----
You need an employer user account, then go to the http://jobboard.inwavethemes.com/dashboard/?iwj_tab=new-job page to create a new job offer. Vulnerable input fields: «Salary Postfix Text» and «Address *».

Payload Sample: <img src=x onerror=(alert)(document.domain)//">

Affects Theme

fixed in version 3.3.8

References

URL https://themeforest.net/item/injob-job-board-wordpress-theme/20322987

Classification

Type XSS
OWASP Top 10 A7: Cross-Site Scripting (XSS)
CWE CWE-79

Miscellaneous

Original Researcher subversa
Submitter subversa
Views 2411
Verified Yes
WPVDB ID 9922

Timeline

Publicly Published 2019-09-16 (2 months ago)
Added 2019-10-22 (28 days ago)
Last Updated 2019-10-27 (22 days ago)

Our Other Services

Online WordPress Vulnerability Scanner WPScan WordPress Security Plugin