mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-27 04:30:52 +00:00
Prevent XSS vul by srcdoc in iframe
This commit is contained in:
parent
d8997f938b
commit
93b91163cd
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,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', 'srcdoc', 'width', 'height']
|
whiteList['iframe'] = ['allowfullscreen', 'name', 'referrerpolicy', 'sandbox', 'src', 'width', 'height']
|
||||||
// allow summary tag
|
// allow summary tag
|
||||||
whiteList['summary'] = []
|
whiteList['summary'] = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue