I found several ways to inject arbitrary Javascript into posts. The easiest two being the onmousedown/up/over attributes and using the url() css construct. With some tags, these are not parsed out whatsoever.
You are also not sanitizing on post edit at all, because the passed object is different from what you are expecting.
I found several ways to inject arbitrary Javascript into posts. The easiest two being the onmousedown/up/over attributes and using the url() css construct. With some tags, these are not parsed out whatsoever.
You are also not sanitizing on post edit at all, because the passed object is different from what you are expecting.