Deprecated test case
Description
CWE: 182 Attempt to sanitize user input collapses data into an unsafe expression
BadSource: getCookiesServlet Read data from the first cookie
GoodSource: A hardcoded string
Sinks: badSanitization
BadSink : String.replaceAll sanitization
Flow Variant: 54 Data flow: data passed as an argument from one method through three others to a fifth; all five functions are in different classes in the same package
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.