Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MathJax-LaTeX should use safe-mode by default #2

Open
pweaver opened this issue Oct 16, 2013 · 3 comments
Open

MathJax-LaTeX should use safe-mode by default #2

pweaver opened this issue Oct 16, 2013 · 3 comments

Comments

@pweaver
Copy link

pweaver commented Oct 16, 2013

Wordpress allows comments by default. Safe mode should be enabled by default on a Wordpress MathJax Plugin to prevent XSS attacks.

See http://docs.mathjax.org/en/latest/safe-mode.html

phillord pushed a commit that referenced this issue Nov 11, 2014
Prevent TinyMCE from striping MathML tags
@grettke
Copy link

grettke commented Sep 2, 2022

@pweaver Is this ticket resolved?

@paulschreiber
Copy link
Collaborator

@grettke Safe mode is no longer part of the MathJax documentation

@pweaver
Copy link
Author

pweaver commented Sep 2, 2022

I haven't used this in years. WordPress still allows comments on most pages and as far as I can tell this extension still basically allows security issues which can lead to XSS or DOS attacks if MathML is used in the comments.
See https://docs.mathjax.org/en/latest/options/safe.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants