mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-01-16 01:31:16 +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
|
// allow kbd tag
|
||||||
whiteList['kbd'] = []
|
whiteList['kbd'] = []
|
||||||
// allow ifram tag with some safe attributes
|
// 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
|
// allow summary tag
|
||||||
whiteList['summary'] = []
|
whiteList['summary'] = []
|
||||||
// allow ruby tag
|
// allow ruby tag
|
||||||
|
|
Loading…
Reference in a new issue