Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angularjs/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angularjs ng bind和ng bind html如何防止XSS?_Angularjs_Xss_Ng Bind Html_Ng Bind - Fatal编程技术网

Angularjs ng bind和ng bind html如何防止XSS?

Angularjs ng bind和ng bind html如何防止XSS?,angularjs,xss,ng-bind-html,ng-bind,Angularjs,Xss,Ng Bind Html,Ng Bind,我一直在尝试研究Angular JS上的XSS,发现ng bind和ng bind html可以防止XSS对任意用户输入的攻击,而这些用户输入已经由服务器站点中的html encode编码。这到底是怎么回事?是否有任何方法可以绕过它以便可以执行XSS?ng bind html用于清理传递的html

我一直在尝试研究Angular JS上的XSS,发现ng bind和ng bind html可以防止XSS对任意用户输入的攻击,而这些用户输入已经由服务器站点中的html encode编码。这到底是怎么回事?是否有任何方法可以绕过它以便可以执行XSS?

ng bind html
用于清理传递的html