mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-30 10:36:35 +02:00
All: Security: Disallow EMBED tags to prevent XSS vulnerability
This commit is contained in:
parent
fbe966903b
commit
57d750bc9a
@ -91,7 +91,7 @@ class HtmlUtils {
|
||||
// that can break several plugins, such as Katex (which needs to load CSS
|
||||
// files using a relative URL). For that reason it is disabled.
|
||||
// More info: https://github.com/laurent22/joplin/issues/3021
|
||||
const disallowedTags = ['script', 'iframe', 'frameset', 'frame', 'object', 'base'];
|
||||
const disallowedTags = ['script', 'iframe', 'frameset', 'frame', 'object', 'base', 'embed'];
|
||||
|
||||
const parser = new htmlparser2.Parser({
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user