Practice Test Question: XSS Attacks

Practice Test Question: XSS Attacks

Practice Test Question: XSS Attacks

Preparing for your next security certification exam?  After trying your hand at this practice test question, join the FREE CertMike Study Group for the CISSP, Security+, CySA+, or SSCP certification to receive new questions each week.  You’ll also receive free access to my customized study strategies.

 

Which one of the following characters is most important to restrict when performing input validation to protect against XSS attacks?

 

A. ‘
B. !
C. <
D. $

 

Correct Answer: C

 

Cross-site scripting relies upon embedding HTML tags in stored or reflected input. The < and > characters are used to denote HTML tags and should be carefully managed when seen in user input.  Learn more about cross-site scripting attacks.

 

Would you like to receive free practice test questions on a weekly basis? Sign up for the free CertMike study groups for the CISSPSecurity+SSCP, or CySA+ exam.
2 Comments
  • Jeff C.
    Posted at 18:14h, 10 July Reply

    Questions like this are good! Keep ’em coming!!

  • Robert Maina
    Posted at 23:45h, 11 July Reply

    Good Questions to keep you on your toes! Thank you for all you do. Go ND!

Post A Comment