XSS Vulnerability
Author: korewayumeCreated Dec 15, 2023Updated Jan 24, 2025
func TestXss(t *testing.T) {
xss := `<img src="abc.png" alt="ABC" />`
Convey("testing XSS", t, func() {
SoMsg(xss, errors.New(xss), ShouldBeNil)
})
}Source: smartystreets/goconvey