The readme file says:
It's best when using this editor to use an input format that has all filters disabled.
Isn't this a security hole? For example: I could include this in my posting: <div style="XYZ">, and from what I understand, you can get the "XYZ" to run javascript of your choosing.
I have a follow-on question, too: Supposing it is ok to have an input format with all filters disabled, as suggested in the readme: How, then, could I get it so that that is the default input format for anyone using TinyMCE, while retaining "Filtered HTML" as the default for everyone else?
Thanks!
Dan
Comments
Comment #1
heine commentedIsn't this a security hole?
Yes it is.
This should be removed from the readme.
Comment #2
JStarcher commentedUse the Safe HTML filter instead.
Comment #3
XGI-Wrath commentedThanks JStarcher!
This seems to a good, security-conscience way to resolve the issues with the default HTML filter striping out all the styles of the output.
Comment #4
JStarcher commentedThis solution has worked great for me as well. I believe this should be in the readme as it effects probably the majority of people using the TinyMCE module.
Comment #5
pomliane commentedThis version of TinyMCE is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.