XSS - Which HTML Tags and Attributes can trigger Javascript Events?

前端 未结 4 628
悲&欢浪女
悲&欢浪女 2020-12-08 11:03

I\'m trying to code a secure and lightweight white-list based HTML purifier which will use DOMDocument. In order to avoid unnecessary complexity I am willing to make the fol

4条回答
  •  春和景丽
    2020-12-08 11:23

    Don't forget the HTML5 JavaScript event handlers

    http://www.w3schools.com/html5/html5_ref_eventattributes.asp

提交回复
热议问题