National Institute of Standards and Technology
Package illustrating a test case

Test case 145479

Description

CWE: 81 Cross Site Scripting (XSS) in Error Message
BadSource: File Read data from file (named c:\data.txt)
GoodSource: A hardcoded string
Sinks: sendErrorServlet
BadSink : XSS in sendError
Flow Variant: 31 Data flow: make a copy of data within the same method

Flaws

Test Suites

Documentation

Have any comments on this test case? Please, send us an email.