Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External URL to track applications is not properly sanitized and leads to arbitrary code injection #514

Closed
mbo-s opened this issue Nov 13, 2018 · 2 comments

Comments

@mbo-s
Copy link

mbo-s commented Nov 13, 2018

It is possible to inject HTML/Javascript-Code like IFrames into a job offer.

Steps to reproduce:

  1. Create a new job https://yawik.org/demo/en/jobs/edit
  2. Under "Create job opening" in the menu "Track applications" change Mode to "use external link" and fill in e.g. javascript:alert('xss');"><script>alert('xss');</script><iframe src="https://www.yawik.org"><rel="
  3. save

You will get to Javascript Messages "XSS" one from the preview and one from the "Track applications"-Menu.
The Iframe will be injected, too.
track-applications

@cbleek
Copy link
Member

cbleek commented Nov 13, 2018

yes, this field should be filtered

let's ask @sergey-galenko , if he can fix this.

@sergey-galenko
Copy link
Collaborator

I'll take a look on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants