QuestionQ32
VerifiedSecure Coding Practices for Session ManagementThomas is not skilled at secure coding. He has neither received secure-coding training nor understands the consequences of insecure coding. One day, he wrote the code shown in the following screenshot. He passed the false parameter to the setHttpOnly() method, which may result in a certain type of vulnerability. Identify the attack that could exploit this vulnerability.

Community Discussion