Is there a security threat if I enable a user to add CSS? -
is not secure enable user add own rules of css personal page, in (for example) social website ?
it not secure. there multiple ways embed javascript in css such gets executed @ least browsers. google "xss css" , through top hits.
don't unless you're willing hardcore sanitization of css, , clean mess when sanitization inevitably bypassed , users' cookies compromised.
Comments
Post a Comment