SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security
Downloads:  Download this Test Case #1794

Back to the previous page... Back to the previous page

Test Case IDDeprecated1794
Bad / Good / MixedBadBad test case
Author
Associations
Good pair: 1795  
Replaced by: 149093  
Test suite: 47  45  
Added byRomain Gaucher
LanguageC
Type of test caseSource Code
Input string<script>alert(\"XSS\")</script>
Expected Output
Instructions
Submission date2007-01-11
DescriptionThis Cross-Site Scripting example shows how a CGI program in C takes the arguments and print it out.
File(s)
Flaw

There is 1 comment
Have any comments on this test case? Please, .

File Contains:
CWE-079: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') on line(s): 33