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

XSS in default views #969

Closed
simkim opened this Issue May 25, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@simkim
Contributor

simkim commented May 25, 2017

Default authorization and application views use the "raw" function which inevitably lead to xss issue :

<%= raw t('.prompt', client_name: "<strong class=\"text-info\">#{ @pre_auth.client.name }</strong>") %>

<%= raw t('doorkeeper.applications.help.native_redirect_uri', native_redirect_uri: "<code>#{ Doorkeeper.configuration.native_redirect_uri }</code>") %>

simkim added a commit to simkim/doorkeeper that referenced this issue May 25, 2017

@simkim simkim changed the title from XSS in default authorization page to XSS in default pages May 25, 2017

@simkim simkim changed the title from XSS in default pages to XSS in default views May 25, 2017

dmitrytrager added a commit to earlymarket/doorkeeper that referenced this issue Jun 9, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment