Merge pull request #206 from SISheogorath/fix/CVE-2019-15499

Don't accept sandbox attribute
This commit is contained in:
Sheogorath
2019-10-22 19:30:23 +02:00
committed by GitHub

View File

@@ -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