3 ms·
I you whitelist tags and then whitelist attributes and then whitelist attribute values and for attributes that have values with its own structure, like style wh
by scotty79 9y ago
I you whitelist tags and then whitelist attributes and then whitelist attribute values and for attributes that have values with its own structure, like style whitelist allowed things in that structure, you should be fine.
But it's hard to restrain yourself from doing: allow any (possibly except some) at any stage of whitelisting.
Even to a point of not allowing string of any characters as attribute value.