Skip to content

Commit

Permalink
fix: [security] XSS in the user homepage favourite button
Browse files Browse the repository at this point in the history
- navigating to a url in MISP with the URL containing a javascript payload would cause the execution of reflected xss
- automatically sanitised by modern browsers, but still confirmed via raw curl fetches
  • Loading branch information
iglocska committed Jan 19, 2021
1 parent 829c319 commit 8283e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/View/Elements/global_menu.ctp
Expand Up @@ -464,7 +464,7 @@
(!empty($homepage['path']) && $homepage['path'] === $this->here) ? 'orange' : '',
__('Set the current page as your home page in MISP'),
__('Set the current page as your home page in MISP'),
$this->here
h($this->here)
)
),
array(
Expand Down

0 comments on commit 8283e0f

Please sign in to comment.