Skip to content

fix: escape OAuth callback error text - #29

Open
ryanduguid wants to merge 1 commit into
XeroAPI:mainfrom
ryanduguid:fix/escape-oauth-callback-errors
Open

fix: escape OAuth callback error text#29
ryanduguid wants to merge 1 commit into
XeroAPI:mainfrom
ryanduguid:fix/escape-oauth-callback-errors

Conversation

@ryanduguid

Copy link
Copy Markdown

Summary

  • HTML-escape provider-supplied OAuth error descriptions before showing them in the local callback page
  • add a restrictive response CSP
  • add a regression test for markup/script injection

Validation

  • npm test
  • npm run build

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.

1 participant