Juliet Java 1.0 Test suite #24
DownloadDescription
A collection of test cases in the Java language. It contains examples for 106 different CWEs. This software is not subject to copyright protection and is in the public domain. NIST assumes no responsibility whatsoever for its use by other parties, and makes no guaranties, expressed or implied, about its quality, reliability, or any other characteristic. All documents related to the Juliet Test Suite can be found at the documents page.
Documentation
Displaying test cases 9726 - 9750 of 14184 in total
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 10 Control flow: if(IO.st...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 11 Control flow: if(IO.st...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 12 Control flow: if(IO.st...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 13 Control flow: if(IO.st...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 14 Control flow: if(IO.st...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 15 Control flow: switch(6...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 16 Control flow: while(tr...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 17 Control flow: for loops
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 19 Control flow: Dead cod...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 31 Data flow: make a copy...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 41 Data flow: data passed...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 42 Data flow: data return...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 45 Data flow: data passed...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 51 Data flow: data passed...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 52 Data flow: data passed...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 53 Data flow: data passed...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 53 Data flow: data passed...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 54 Data flow: data passed...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 61 Data flow: data return...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 66 Data flow: data passed...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 67 Data flow: data passed...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 68 Data flow: data passed...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromDB Read a string from a database connection GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 71 Data flow: data passed...
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromFile Read data from file (named c:\data.txt) GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 01 Baseline
-
CWE: 643 Unsafe Treatment of XPath Input BadSource: fromFile Read data from file (named c:\data.txt) GoodSource: A hardcoded string Sinks: unvalidatedXPath GoodSink: validate input through StringEscapeUtils BadSink : user input is used without validate Flow Variant: 02 Control flow: if(true...