mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-28 04:31:28 +00:00
Merge pull request #206 from SISheogorath/fix/CVE-2019-15499
Don't accept sandbox attribute
This commit is contained in:
commit
3db757754f
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ whiteList['style'] = []
|
|||
// allow kbd tag
|
||||
whiteList['kbd'] = []
|
||||
// allow ifram tag with some safe attributes
|
||||
whiteList['iframe'] = ['allowfullscreen', 'name', 'referrerpolicy', 'sandbox', 'src', 'width', 'height']
|
||||
whiteList['iframe'] = ['allowfullscreen', 'name', 'referrerpolicy', 'src', 'width', 'height']
|
||||
// allow summary tag
|
||||
whiteList['summary'] = []
|
||||
// allow ruby tag
|
||||
|
|
Loading…
Reference in a new issue