Closed wulucxy closed 7 years ago
类似于这种路由地址:
https://www.host.com/app/follow?follow=1&uid=2300052</script+><script>alert(583)</script>
var xss = require('xss'); var url = xss('https://www.host.com/app/follow?follow=1&uid=2300052</script+><script>alert(583)</script>'); console.log(url);
类似于这种路由地址: