W3
Teacher
Explore
Browse by field
Artificial Intelligence
Accounting & Finance
Information Technology
Show all fields
Interview Q&A
All Interview Questions
Beginner
Intermediate
Advanced
Practice
MCQs
Quizzes
Mock Interviews
About
Light
Dark
Auto
Sign in
Get Started
Search interview questions
Search
6 questions for “Security: XSS”
Found in 1 field. Select a question to see its full answer.
Information Technology
6 questions in 1 technology
#
Question
Technology
Topic
Level
1
How do you select and modify an element's text content?
JavaScript › DOM & Events
JavaScript
DOM & Events
Beginner
2
How do you use the replacer parameter of JSON.stringify() to control what gets serialized?
JavaScript › JSON & Data Serialization
JavaScript
JSON & Data Serialization
Intermediate
3
What is CORS and why does the browser block certain cross-origin requests?
JavaScript › Networking: Fetch, XHR, WebSockets & CORS
JavaScript
Networking: Fetch, XHR, WebSockets & CORS
Intermediate
4
How do cookies differ from localStorage for storing data?
JavaScript › Browser Storage & Web APIs
JavaScript
Browser Storage & Web APIs
Advanced
5
How do you safely parse potentially untrusted JSON without exposing your app to prototype pollution?
JavaScript › JSON & Data Serialization
JavaScript
JSON & Data Serialization
Advanced
6
What is a CORS preflight request, and which requests trigger one?
JavaScript › Networking: Fetch, XHR, WebSockets & CORS
JavaScript
Networking: Fetch, XHR, WebSockets & CORS
Advanced