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

Fix possible XSS in yaws_outmod:crashmsg/3 #209

Merged
merged 1 commit into from Mar 22, 2015

Conversation

depressed-pho
Copy link
Contributor

Stacktraces have a dump of arguments for function calls
nowadays. Without escaping HTML special characters, it is possible to
make yaws_outmod:crashmsg/3 dump strings containing something like
"</pre><script>alert('Hello, XSS!')</script>" and thus results in a
XSS vulnerability.

Stacktraces have a dump of arguments for function calls
nowadays. Without escaping HTML special characters, it is possible to
make yaws_outmod:crashmsg/3 dump strings containing something like
"</pre><script>alert('Hello, XSS!')</script>" and thus results in a
XSS vulnerability.
klacke pushed a commit that referenced this pull request Mar 22, 2015
Fix possible XSS in yaws_outmod:crashmsg/3
@klacke klacke merged commit 40c1898 into erlyaws:master Mar 22, 2015
@klacke
Copy link
Collaborator

klacke commented Mar 22, 2015

Thanks,

@depressed-pho depressed-pho deleted the fix-crashmsg-xss branch March 25, 2015 09:36
jgrinstead pushed a commit to jgrinstead/yaws that referenced this pull request Apr 23, 2015
Fix possible XSS in yaws_outmod:crashmsg/3
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

Successfully merging this pull request may close these issues.

None yet

2 participants