-
-
Notifications
You must be signed in to change notification settings - Fork 698
Closed
Description
This input to the notebook results in pain:
html('<script>alert("</script>");</script>')
This should only be looked at after #3735 is applied. Then look at this code in
cell.py
if ncols == 0:
while True:
i = t.lower().find('<script>')
if i == -1: break
j = t[i:].lower().find('</script>')
if j == -1: break
t = t[:i] + t[i+j+len('</script>'):]
and also function eval_script_tags(text) in js.py.
Component: notebook
Issue created by migration from https://trac.sagemath.org/ticket/3777