Skip to content

Commit 379fa67

Browse files
committed
fix: Blacklist iframe
1 parent ba6224a commit 379fa67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frappe/utils/html_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def sanitize_html(html, linkify=False):
5858
return html
5959

6060
tags = (acceptable_elements + svg_elements + mathml_elements
61-
+ ["html", "head", "meta", "link", "body", "iframe", "style", "o:p"])
61+
+ ["html", "head", "meta", "link", "body", "style", "o:p"])
6262
attributes = {"*": acceptable_attributes, 'svg': svg_attributes}
6363
styles = bleach_whitelist.all_styles
6464
strip_comments = False

0 commit comments

Comments
 (0)