Replies: 7 comments
-
Looks like a vulnerabiity fix to me. |
Beta Was this translation helpful? Give feedback.
-
Maybe, but if you want to be able to embed video or map you've to turn off What's the risk in allowing iframes ? What kinds of exploits relies on it ? |
Beta Was this translation helpful? Give feedback.
-
Totally agree with @Skrypt, but embedding videos and maps make sense to me, this is widely used websites, @deanmarcussen your though |
Beta Was this translation helpful? Give feedback.
-
You can inject any website page within an iframe. Also any javascript that would alter the current page content. |
Beta Was this translation helpful? Give feedback.
-
https://owasp.org/www-community/attacks/Cross_Frame_Scripting but if you want to allow it yourself, the sanitizer is configurable. https://docs.orchardcore.net/en/dev/docs/reference/core/Sanitizer/ Or a shortcode that creates the iframe (will only work with the HtmlBodyPart) |
Beta Was this translation helpful? Give feedback.
-
Ya |
Beta Was this translation helpful? Give feedback.
-
You can configure the sanitizer to allow iframe tags.
|
Beta Was this translation helpful? Give feedback.
-
Currently
iframe
tags are removed byHtmlSanitizerService
whenSanitizeHtml
option is enabled.Could we consider adding
iframe
to AllowedTags, or is there a vulnerability here ?Beta Was this translation helpful? Give feedback.
All reactions