Search Header Logo

32. Cross-Site Scripting (XSS) Quiz

Authored by Jennifer Clark

Professional Development

Professional Development

Used 1+ times

32. Cross-Site Scripting (XSS) Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is the abbreviation for Cross-Site Scripting 'XSS' instead of 'CSS'?

Because 'XSS' is easier to remember

Because 'CSS' is already used for Cascading Style Sheets

Because 'XSS' sounds cooler

Because 'CSS' is too long

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary scripting language used in most XSS attacks?

Python

Ruby

JavaScript

PHP

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a non-persistent XSS attack, what is typically exploited?

Third-party website's input fields

User's email account

Social media profiles

User's browser settings

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is another name for a non-persistent XSS attack?

Stored attack

Reflected attack

Indirect attack

Direct attack

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the shopping cart example, where was the malicious script embedded?

Product description

User's name

Credit card number field

Shipping address

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What makes a persistent XSS attack different from a non-persistent one?

It is less harmful

It uses a different scripting language

It stores the malicious code on a third-party site

It targets only one user

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where might an attacker post a malicious link in a persistent XSS attack?

In a browser extension

In a private email

On a social media site

In a text message

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Professional Development