Additional negative test

This commit is contained in:
Sergey
2017-02-28 09:47:27 -08:00
parent a7cf5319c3
commit a4f77dfe25

View File

@ -240,6 +240,24 @@ XSS via item value
</apex:form>
</apex:page>
]]></code>
<source-type>vf</source-type>
</test-code>
<test-code>
<description><![CDATA[
XSS via item value
]]></description>
<expected-problems>0</expected-problems>
<code><![CDATA[
<apex:page>
<apex:form>
<apex:selectList value="{!string}" size="1">
<apex:selectOption itemValue='{!HTMLENCODE(XSS)}' itemLabel="Red" itemEscaped="false"/>
</apex:selectList>
</apex:form>
</apex:page>
]]></code>
<source-type>vf</source-type>
</test-code>