# Web Security (OWASP, JWT, XSS, CSRF) Interview Questions

> OWASP Top 10, JWT, XSS/CSRF mitigation, SQL Injection, and secure headers.

Canonical: https://www.internhack.in/learn/interview/web-security
Last updated: 2026-11-28

OWASP Top 10, JWT, XSS/CSRF mitigation, SQL Injection, and secure headers.

## 51 questions in this section

- [OWASP Top 10 Overview](https://www.internhack.in/learn/interview/web-security/security-owasp-top-10) (Intermediate)
- [JWT Security](https://www.internhack.in/learn/interview/web-security/security-jwt-structure) (Intermediate)
- [XSS: Cross-Site Scripting](https://www.internhack.in/learn/interview/web-security/security-xss-mitigation) (Intermediate)
- [CSRF: Cross-Site Request Forgery](https://www.internhack.in/learn/interview/web-security/security-csrf-explanation) (Intermediate)
- [CORS (Cross-Origin Resource Sharing)](https://www.internhack.in/learn/interview/web-security/security-cors-fundamentals) (Beginner)
- [SQL Injection (SQLi)](https://www.internhack.in/learn/interview/web-security/security-sql-injection-prevention) (Beginner)
- [Hashing vs. Encryption](https://www.internhack.in/learn/interview/web-security/security-hashing-vs-encryption) (Beginner)
- [HTTPS & TLS](https://www.internhack.in/learn/interview/web-security/security-https-tls-handshake) (Intermediate)
- [Rate Limiting & Brute Force](https://www.internhack.in/learn/interview/web-security/security-brute-force-rate-limiting) (Beginner)
- [Security Headers (Helmet)](https://www.internhack.in/learn/interview/web-security/security-secure-headers) (Intermediate)
- [Bcrypt: Salt & Cost](https://www.internhack.in/learn/interview/web-security/security-bcrypt-salting-work-factor) (Intermediate)
- [OAuth 2.0 & OpenID Connect](https://www.internhack.in/learn/interview/web-security/security-oauth2-flows) (Advanced)
- [Session Fixation](https://www.internhack.in/learn/interview/web-security/security-session-fixation) (Advanced)
- [SSRF (Server-Side Request Forgery)](https://www.internhack.in/learn/interview/web-security/security-ssrf-vulnerability) (Advanced)
- [Clickjacking](https://www.internhack.in/learn/interview/web-security/security-clickjacking-protection) (Intermediate)
- [Sanitizing vs. Validating](https://www.internhack.in/learn/interview/web-security/security-sanitizing-inputs) (Beginner)
- [Broken Access Control](https://www.internhack.in/learn/interview/web-security/security-broken-access-control) (Intermediate)
- [Password Complexity](https://www.internhack.in/learn/interview/web-security/security-password-complexity) (Beginner)
- [DoS vs. DDoS](https://www.internhack.in/learn/interview/web-security/security-dos-vs-ddos) (Beginner)
- [Man-in-the-Middle (MITM)](https://www.internhack.in/learn/interview/web-security/security-man-in-the-middle) (Beginner)
- [Homograph Attack](https://www.internhack.in/learn/interview/web-security/security-homograph-attack) (Advanced)
- [The Purpose of Salt](https://www.internhack.in/learn/interview/web-security/security-salting-passwords) (Intermediate)
- [Pepper vs. Salt](https://www.internhack.in/learn/interview/web-security/security-peppering-passwords) (Advanced)
- [Insecure Deserialization](https://www.internhack.in/learn/interview/web-security/security-insecure-deserialization) (Advanced)
- [JSON Poisoning](https://www.internhack.in/learn/interview/web-security/security-json-poisoning) (Intermediate)
- [Directory Traversal](https://www.internhack.in/learn/interview/web-security/security-directory-traversal) (Beginner)
- [Principle of Least Privilege](https://www.internhack.in/learn/interview/web-security/security-least-privilege) (Beginner)
- [Zero Trust](https://www.internhack.in/learn/interview/web-security/security-zero-trust-architecture) (Advanced)
- [CSP: Content Security Policy](https://www.internhack.in/learn/interview/web-security/security-content-security-policy) (Advanced)
- [Subresource Integrity (SRI)](https://www.internhack.in/learn/interview/web-security/security-subresource-integrity) (Intermediate)
- [Same-Origin Policy (SOP)](https://www.internhack.in/learn/interview/web-security/security-same-origin-policy) (Intermediate)
- [Brute Force Protection](https://www.internhack.in/learn/interview/web-security/security-brute-force-vulnerability) (Beginner)
- [CSPRNG](https://www.internhack.in/learn/interview/web-security/security-cryptographically-secure-random) (Advanced)
- [Data at Rest](https://www.internhack.in/learn/interview/web-security/security-sensitive-data-rest) (Intermediate)
- [Security Misconfiguration](https://www.internhack.in/learn/interview/web-security/security-security-misconfiguration) (Beginner)
- [Phishing Protection](https://www.internhack.in/learn/interview/web-security/security-phishing-prevention) (Beginner)
- [Social Engineering](https://www.internhack.in/learn/interview/web-security/security-social-engineering-basics) (Beginner)
- [Buffer Overflow](https://www.internhack.in/learn/interview/web-security/security-buffer-overflow-intro) (Advanced)
- [Blind SQL Injection](https://www.internhack.in/learn/interview/web-security/security-sql-blind-injection) (Advanced)
- [API Security](https://www.internhack.in/learn/interview/web-security/security-api-security-best-practices) (Intermediate)
- [XXE Attack](https://www.internhack.in/learn/interview/web-security/security-xml-external-entity-xxe) (Advanced)
- [Broken Auth](https://www.internhack.in/learn/interview/web-security/security-broken-auth-overview) (Intermediate)
- [Information Disclosure](https://www.internhack.in/learn/interview/web-security/security-least-info-disclosure) (Beginner)
- [Side-Channel Attack](https://www.internhack.in/learn/interview/web-security/security-side-channel-attack) (Advanced)
- [Nonces](https://www.internhack.in/learn/interview/web-security/security-nonce-explanation) (Intermediate)
- [MFA Factors](https://www.internhack.in/learn/interview/web-security/security-mfa-types) (Beginner)
- [Honey Tokens](https://www.internhack.in/learn/interview/web-security/security-honey-tokens) (Advanced)
- [Penetration Testing](https://www.internhack.in/learn/interview/web-security/security-penetration-testing-levels) (Intermediate)
- [Reentrancy](https://www.internhack.in/learn/interview/web-security/security-reentrancy-vulnerability) (Advanced)
- [Cold Boot Attack](https://www.internhack.in/learn/interview/web-security/security-cold-boot-attack) (Advanced)
- [Cloud Isolation](https://www.internhack.in/learn/interview/web-security/security-cloud-tenant-isolation) (Intermediate)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
