We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 849e9f5 commit 7e500daCopy full SHA for 7e500da
OWASP.AntiSamyTests/Html/AntiSamyTest.cs
@@ -903,6 +903,10 @@ public void TestSmuggledTagsInStyleContent()
903
.Should().NotContain("script");
904
antisamy.Scan("<select<style/>k<input<</>input/onfocus=alert(1)>", policy).GetCleanHtml()
905
.Should().NotContain("input");
906
+ antisamy.Scan("<style/><listing/>]]><noembed></style><img src=x onerror=mxss(1)></noembed>", policy).GetCleanHtml()
907
+ .Should().NotContain("mxss");
908
+ antisamy.Scan("<style/><math>'<noframes ></style><img src=x onerror=mxss(1)></noframes>'", policy).GetCleanHtml()
909
910
}
911
912
[Test]
0 commit comments