You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.
The module doesn't make any attempt to escape or reject $ characters. For example, !tex x $ x $ x will show the middle x as a text x, not a math x. If you enable the use_tex setting, this is a security problem (e.g., !tex $ \def\x{\x}\x $ will launch latex in an infinite loop). One of the following changes should be made:
reject all strings with $
escape all $ characters (this is trickier than it may seem, e.g. s.replace('$', '\$') would still allow an escape if s = "\$ \def\x{\x}\x \$")
warn about the security implications of the use_tex setting
The text was updated successfully, but these errors were encountered:
The module doesn't make any attempt to escape or reject
$
characters. For example,!tex x $ x $ x
will show the middle x as a text x, not a math x. If you enable theuse_tex
setting, this is a security problem (e.g.,!tex $ \def\x{\x}\x $
will launch latex in an infinite loop). One of the following changes should be made:$
$
characters (this is trickier than it may seem, e.g.s.replace('$', '\$')
would still allow an escape ifs = "\$ \def\x{\x}\x \$"
)use_tex
settingThe text was updated successfully, but these errors were encountered: