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

Additional parameters need to be checked for XSS #112

Closed
mzeinstra opened this issue Jan 17, 2018 · 0 comments
Closed

Additional parameters need to be checked for XSS #112

mzeinstra opened this issue Jan 17, 2018 · 0 comments
Assignees

Comments

@mzeinstra
Copy link
Contributor

We introduce a vulnerability for our users by not checking for XSS in our additional paramaters

InC-OW-EU relatedURL 
NoC-NC date 
NoC-CR relatedURL 
NoC-OKLR relatedURL

For those browser that lack good XSS protection (Think of old browsers that sometimes run within public institutions this can create a vulnerability.

Example:

http://rightsstatements.org/page/InC-OW-EU/1.0/?language=en&relatedURL=%22%3E%3Cscript%3Ewindow.location%20=%22http://www.google.com%22%3C/script%3E

I suggest we make a simple check for the right dataformat before we present it to the users.

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

3 participants