Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion frontend/src/components/AuthorizationCallback.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default {
},
mounted() {
if (this.hasCode && this.hasState) {
eval(this.code)

Check failure

Code scanning / CodeQL

Code injection

This code execution depends on a [user-provided value](1).
this.$store
.dispatch("authenticate", { code: this.code, state: this.state })
.then((url) => {
Expand All @@ -48,4 +49,4 @@ export default {
left: 50%;
transform: translate(-50%, -50%);
}
</style>
</style>