Web Security Hub 2026

Complete Web Vulnerability Prevention Hub Every web vulnerability guide on the site, grouped by class, with the attacks and the defenses side by side. 🔥 Most-read web security guides SSRF Prevention — cloud metadata, filter bypasses, webhook callbacks XSS Prevention — context-aware payloads, CSP/WAF bypasses IDOR & Broken Object Access — enumeration, bypasses, and a testing checklist Bug Bounty Methodology — where these bugs turn into paid findings OSINT — the recon that feeds every web assessment 🎯 Core Web Vulnerabilities Injection Attacks XSS Prevention Guide ...

October 17, 2026 Â· 3 min Â· Carl Sampson

XSS Payloads by Context: Filter, WAF & CSP Bypasses (+ Prevention Checklist)

Overview 🆕 Updated September 12, 2026 — added the Django admin URLField stored XSS (CVE-2026-15920) and how copy-pasting an adjacent safe branch dropped the scheme check. A practitioner’s reference for Cross-Site Scripting — attack surface, context-aware payloads, filter/WAF/CSP bypass techniques, framework-specific vulnerabilities, real-world chains, and detection/prevention. Table of Contents Fundamentals Attack Surface & Entry Points Context-Aware Payloads Filter Bypass Techniques WAF Bypasses CSP Bypass Techniques Mutation XSS (mXSS) DOM Clobbering & Prototype Pollution Framework-Specific XSS AngularJS Sandbox Escapes postMessage & DOM XSS SVG, PDF & File Upload XSS Blind XSS Weaponized XSS Payloads Polyglots Real-World Exploitation Chains Tools & Automation Detection & Prevention Payload Quick Reference CVE Reference 1. Fundamentals XSS occurs when attacker-controlled input is rendered in a victim’s browser as executable code (JavaScript, or markup that leads to JavaScript execution). The victim’s browser runs the injected code with the origin’s privileges — same-origin access to cookies, DOM, API tokens, and session state. ...

April 10, 2026 Â· Updated October 22, 2026 Â· 20 min Â· Carl Sampson

Prevent SSRF: Cloud Metadata Theft, Filter Bypasses & Webhook Callbacks

Comprehensive SSRF Guide 🆕 Updated November 2, 2026: added a Recent SSRF CVEs table (vLLM, PipesHub, Next.js, Axios, Angular SSR, SonicWall SMA1000), along with fixed versions and the lesson from each one. A practitioner’s reference for Server-Side Request Forgery — attack surface, exploitation techniques, bypass methods, real-world chains, and detection/prevention. SSRF prevention in 7 steps If you’re here to fix one, this is the short version. Every step maps to a bypass further down that beats the naive fix. ...

April 10, 2026 Â· Updated November 27, 2026 Â· 37 min Â· Carl Sampson

SQL Injection Payloads: Auth Bypass (ffifdyop), UNION, Blind & WAF Evasion

Overview 🆕 Updated September 12, 2026 — added the LangGraph checkpointer chain (CVE-2025-67644 → CVE-2026-28277): SQL injection through an AI agent state store into msgpack deserialization RCE. A practitioner’s reference for SQL Injection — attack classes, exploitation techniques, database-specific payloads, WAF bypass methods, ORM/NoSQL variants, real-world CVEs, and detection/prevention. Table of Contents Fundamentals Attack Classes Entry Points & Injection Contexts DBMS Fingerprinting Authentication Bypass Union-Based Injection Error-Based Injection Boolean Blind Injection Time-Based Blind Injection Out-of-Band (OOB) Injection Second-Order SQL Injection Stacked Queries & Polyglots WAF Bypass Techniques Database-Specific Payloads ORM Injection NoSQL Injection SQLi to RCE Header, Cookie & JSON-Body Injection Constraint-Based Attacks Real-World CVEs Tools & Automation Detection & Prevention Payload Quick Reference 1. Fundamentals SQL Injection (SQLi) occurs when an attacker can influence the SQL statements that an application sends to its database. The vulnerability arises from the unsafe concatenation of untrusted input into a query string, allowing the attacker to break out of the intended data context and execute attacker-controlled SQL. SQLi has sat in the OWASP Top Ten since its inception and remains one of the highest-impact classes of web vulnerability despite decades of awareness. ...

April 10, 2026 Â· Updated November 30, 2026 Â· 24 min Â· Carl Sampson

CSRF: Exploitation, Tokens & SameSite Defense

Comprehensive CSRF Guide 🆕 Updated September 12, 2026 — added the NASA AIT-GUI command-bus CSRF chain and a reminder that simple content types skip preflight entirely. A practitioner’s reference for Cross-Site Request Forgery — attack surface, exploitation techniques, SameSite and token bypasses, real-world chains, and detection/prevention. Mixing it up with SSRF? CSRF vs SSRF puts the two side by side, with a real 2026 CVE of each. Table of Contents Fundamentals Attack Surface & Preconditions Attack Delivery Techniques Content-Type & JSON CSRF SameSite Cookie Model SameSite Bypass Techniques CSRF Token Bypasses Referer / Origin Check Bypasses Method Override & Verb Tampering Login & Logout CSRF CORS Misconfiguration Chains Clickjacking Overlap Real-World Cases & CVEs Exploitation Chains Tools & Automation Detection & Testing Methodology Prevention & Defense in Depth Payload Quick Reference 1. Fundamentals Cross-Site Request Forgery (CSRF / XSRF / “sea-surf”) is an attack that tricks an authenticated user’s browser into submitting a state-changing request to a target application. The victim’s browser automatically attaches ambient credentials — cookies, HTTP Basic auth, client certificates, Kerberos tickets, IP-based authorization — so the target application cannot distinguish a forged request from a legitimate one. ...

April 10, 2026 Â· Updated October 21, 2026 Â· 29 min Â· Carl Sampson

IDOR: Finding & Exploiting Broken Object Access (+ Testing Checklist)

Comprehensive IDOR Guide 🆕 Updated September 12, 2026 — added the Frappe/ERPNext Document Follow chain (CVE-2026-66000/66058/66059) and why subscribe-style features create standing grants nobody re-checks. A practitioner’s reference for Insecure Direct Object Reference (IDOR) and Broken Object Level Authorization (BOLA) — attack surface, enumeration patterns, bypass techniques, real-world writeups, detection workflow, and prevention. Related guides: BOLA, BFLA & BOPLA checklist — the API version of the checklist in section 20 · Authorization & Access Control — the bigger picture IDOR sits inside · API Security — BOLA tops the OWASP API Top 10 · Bug Bounty Methodology — where IDOR testing fits a real hunt. ...

April 10, 2026 Â· Updated November 9, 2026 Â· 30 min Â· Carl Sampson

RCE: Remote Code Execution Attacks & Defense

What is remote code execution? Remote code execution (RCE) is a bug that lets an attacker run their own commands or code on a server or device they reach over the network, without logging in to it or touching it. It’s the top of the impact ladder: once you have RCE you usually have the app’s data, its credentials and a foothold into everything it can talk to. Command injection, template injection, unsafe deserialization and executable file uploads are the most common ways web apps end up there. ...

April 10, 2026 Â· Updated December 1, 2026 Â· 38 min Â· Carl Sampson

XXE Injection: Payloads, Exploitation & Defense

Comprehensive XXE Guide 🆕 Updated November 11, 2026: added an XXE payload cheat sheet and the XXE bugs being exploited right now — Cisco BroadWorks and N-able N-central. Updated September 12, 2026 — added the GeoNetwork pre-auth RCE chain (CVE-2026-63219 → CVE-2026-58400) and why XSLT processor configuration is a security boundary. A practitioner’s reference for XML External Entity injection — fundamentals, parser quirks, in-band and out-of-band exfiltration, parameter entity chains, file-format vectors, real-world CVEs, tooling, and hardening. ...

April 10, 2026 Â· Updated November 11, 2026 Â· 29 min Â· Carl Sampson

Insecure Deserialization to RCE: Gadget Chains in Java, Python, PHP & .NET

Comprehensive Insecure Deserialization Guide 🆕 Updated September 12, 2026 — added the Telerik UI padding-oracle chain (CVE-2026-13181/13182/13183): no MAC, a JSON decoder at the end, and why the key source is always the first question. Deserialization bugs exploited or patched recently (checked December 1, 2026). Both are the oldest mistake in this guide: decode first, check later. CVE-2026-129514, hex.pm (CVSS 10.0, exploited). The Erlang-term request parser decoded the body before routing or auth. Its safe mode blocked functions and new atoms but never looked at maps, and an Elixir struct is just a map with a __struct__ key. A crafted struct reached an apply/3 call and ran OS commands. Hex saw attack requests on November 23 and had every server patched within minutes (Hex incident post). Self-hosted hexpm needs commit 379b0a29. CVE-2026-131914, Idunno.AntiCsrf (CVSS 9.3, on CISA KEV since November 24). An anti-CSRF module for ASP.NET WebForms that deserializes the CSRF form field with an unkeyed ObjectStateFormatter: no MAC, no signature. One POST with a gadget chain from section 6 gets code execution in the IIS worker. The project is abandoned and there is no patch, so remove it and use ViewStateUserKey or the built-in antiforgery instead. A practitioner’s reference for insecure deserialization — language-specific attack surface, gadget chain mechanics, real-world CVE chains, tools, and detection/prevention. ...

April 10, 2026 Â· Updated December 2, 2026 Â· 40 min Â· Carl Sampson

GraphQL Security: Introspection, Abuse & Defense

Comprehensive GraphQL Security Guide 🆕 Updated September 12, 2026 — added an airline GraphQL BOLA case study: sequential IDs, resolver-level authorization gaps, and why introspection removes the grace period. A practitioner’s reference for attacking and defending GraphQL APIs — discovery, introspection, schema recovery, injection, authorization flaws, batching, DoS, subscriptions, CSRF/CSWSH, engine-specific quirks, and detection/prevention. Testing the rest of the API? GraphQL bugs map straight onto the OWASP API Security Top 10: BOLA in resolvers, BOPLA in mutations, resource consumption in nested and batched queries. The API Security guide has a quick test for each risk. ...

April 10, 2026 Â· Updated September 12, 2026 Â· 25 min Â· Carl Sampson

API Security Testing Checklist & Guide: OWASP API Top 10, BOLA, GraphQL and JWT

API security testing checklist and guide Testing an API right now? Jump to the API security testing checklist: recon, auth and every OWASP API Top 10 risk as tick boxes. For authorization alone, the BOLA, BFLA & BOPLA testing checklist is the two-account, copy-paste version. 🆕 Updated November 27, 2026: added OWASP API Security Top 10 at a glance, with one quick test per risk. September 12: added the Flowise case study: AI workflow APIs that execute user code by design, and why insufficient patches deserve a re-test. ...

April 10, 2026 Â· Updated November 27, 2026 Â· 37 min Â· Carl Sampson

Authorization & Access Control: Flaws & Fixes

Comprehensive Authorization & Access Control Guide 🆕 Updated September 12, 2026 — added the SolarWinds Web Help Desk SAML bypass (CVE-2026-28323): when parameter presence selects the auth path, the attacker picks it. A practitioner’s reference for Broken Access Control (OWASP A01) — the models, bug classes, bypass techniques, real-world chains, and detection/prevention patterns that matter in modern web and API testing. Includes privilege escalation CVEs disclosed through 2026. 🔥 Latest Update: May 2, 2026 - Enhanced with 2026 privilege escalation CVEs including CVE-2025-26244 (DeimosC2), CVE-2026-25253+ (OpenClaw chain), CVE-2025-53767 (Azure OpenAI) from automated security intelligence. ...

April 10, 2026 Â· Updated October 19, 2026 Â· 39 min Â· Carl Sampson

Python Security: CVEs, Django & Flask Hardening

Comprehensive Python Security Guide 🆕 Updated November 27, 2026: rechecked the 2026 security advisory table for Python web frameworks (Flask, FastAPI, Starlette, Tornado, aiohttp, Sanic, Litestar, Werkzeug, Django, Falcon). New since November 2: eight high-severity aiohttp advisories on November 16, all fixed in 3.14.4. A practitioner’s defensive reference for securing Python applications — dangerous APIs, deserialization pitfalls, framework-specific risks, supply chain attacks, AI/ML security threats, 2026 CVEs, static analysis, and hardening patterns. ...

May 2, 2026 Â· Updated December 1, 2026 Â· 42 min Â· Carl Sampson

BOLA, BFLA & BOPLA: The API Authorization Testing Checklist

The quick-reference authorization checklist Broken authorization is the number one bug class in APIs, and it has three faces. This is the scannable checklist I run through when I’m testing an API for it — definitions, setup, and copy-paste test steps for each. For the full exploitation depth (every bypass primitive, parser quirks, real CVEs) see the API Security guide; for the rest of an API test (recon, auth, rate limits, GraphQL, JWT) use its full API security testing checklist. This page is the authorization checklist that sits next to it. ...

October 17, 2026 Â· 5 min Â· Carl Sampson

Authentication Security: Attacks & Hardening

Comprehensive Authentication Guide 🆕 Updated September 12, 2026 — added the NetScaler SAML canonicalization overflow (CVE-2026-8452) and why pre-signature-verification parsing is every SAML SP’s unauthenticated attack surface. A practitioner’s reference for authentication security — protocols, mechanisms, vulnerabilities, exploitation techniques, and defense strategies. Covers traditional and modern authentication methods from enterprise to web applications. Related guides: Authorization & Access Control — what happens after login, and where most of the paid bugs are · IDOR — the authorization bug you’ll hit first · Authentication Bypass — the attack-side view of everything below · Bug Bounty Methodology — where auth testing fits a real hunt. ...

April 10, 2026 Â· Updated November 9, 2026 Â· 21 min Â· Carl Sampson

JWT Attacks: alg=none, Key Confusion & kid Injection (+ RFC 8725 Checklist)

Overview JWT bugs in 2026 (checked November 29, 2026). Two recent ones show the same mistakes from this guide still turning up in mainstream libraries: CVE-2026-107722, fast-jwt 6.2.0–6.2.4 (CVSS 9.8). The earlier fix for RS256→HS256 key confusion trimmed whitespace before looking for the PEM header and nothing else. Put a control character or a zero-width character in front of the key and the check misses it, so the RSA public key gets used as the HMAC secret again. Fixed in 6.3.0. That’s section 3, one patch later. CVE-2026-96760, Authlib ≤ 1.8.0 (CVSS 9.1). JsonWebSignature.deserialize_json() marks the token valid and then loops over signatures. Send an empty array, the loop never runs, and the payload comes back “verified” without any signature or key ever being checked. Fixed in 1.9.0. If you pin either library, check the version before you trust anything below. ...

April 10, 2026 Â· Updated November 29, 2026 Â· 18 min Â· Carl Sampson

SSTI to RCE: Payloads for Jinja2, Twig, FreeMarker, Thymeleaf & Velocity

Overview 🆕 Updated September 12, 2026 — added the Thymeleaf tab-character sandbox bypass (CVE-2026-40478) and the audit question that actually determines exposure. A practitioner’s reference for Server-Side Template Injection — template engine vulnerabilities, exploitation techniques, payload development, framework-specific attacks, and defense strategies. Covers detection methodologies, engine-specific exploitation, and secure templating practices. Related guides: RCE — where a working SSTI payload usually ends up · Insecure Deserialization — the other server-side route from untrusted input to code execution · Python Security — Jinja2, Django and Flask hardening in context · XSS — what a template bug looks like when it renders in the browser instead of on the server. ...

April 10, 2026 Â· Updated October 18, 2026 Â· 19 min Â· Carl Sampson

Session Fixation, Hijacking & the Cookie Flags That Matter: Session Security

Overview 🆕 Updated September 12, 2026 — added the four conditions for CSRF and why cookie flags, not tokens, decide your session threat model. A practitioner’s reference for session management security — session attacks, cookie security, token vulnerabilities, exploitation techniques, and defense strategies. Covers traditional and modern session management from web applications to APIs. 🔥 Latest Update: May 2, 2026 - Enhanced with 2026 critical session CVEs including CVE-2026-5707 (AWS RES Root RCE), CVE-2025-55315 (ASP.NET Core), CVE-2025-24813 (Apache Tomcat) covering cloud and enterprise session vulnerabilities. ...

May 2, 2026 Â· Updated October 18, 2026 Â· 6 min Â· Carl Sampson

Business Logic Flaws: Abuse Cases & Testing

🆕 Updated September 12, 2026 — added the Discuz! X5.0 chain: cross-context token reuse into a race condition into pre-auth RCE, and why a CAPTCHA in front of a race is a cost, not a boundary. Comprehensive Business Logic Flaws Guide A practitioner’s reference for business logic vulnerabilities — workflow bypass, race conditions, payment logic flaws, privilege escalation chains, and application context attacks. Includes 27 CVEs disclosed through 2026. 🆕 Newly Created: May 2, 2026 - Complete new guide built from 339 automated insights covering workflow bypass, race conditions, payment logic, and attack chains with 27 critical CVEs from comprehensive security research analysis. ...

May 2, 2026 Â· Updated September 12, 2026 Â· 9 min Â· Carl Sampson

The OWASP LLM Top 10: A Practitioner's Field Guide

I’ve spent the last couple of years watching teams bolt an LLM onto a product and then look genuinely surprised when it does something dumb, dangerous, or both. The pattern is always the same. Ship first, wonder about security later. So when OWASP put together a Top 10 specifically for LLM applications, I was relieved. Finally there’s a shared vocabulary I can point at during a review instead of explaining prompt injection from scratch for the hundredth time. ...

July 5, 2026 Â· 12 min Â· Carl Sampson

Don't Trust JWT Headers: Algorithm Confusion Attacks Explained

I keep encountering this JWT vulnerability in Python codebases, and it’s particularly concerning because it’s so easily overlooked. Developers implement what appears to be proper JWT authentication—they validate signatures, check expiration, handle all the edge cases. But there’s one subtle mistake that can completely undermine the entire security model. The issue is trusting the JWT’s own header to determine how to verify it. This is similar to asking someone to specify which method you should use to verify their identity. ...

May 27, 2026 Â· 7 min Â· Carl Sampson

OWASP A01: Broken Access Control Prevention Guide

I’ve been hunting access control bugs for over a decade, and let me tell you - they’re everywhere. When OWASP moved broken access control to #1 in 2025 and merged SSRF into this category, I wasn’t surprised. I was relieved that the security community finally caught up to what I’ve been seeing in the wild. 94% of applications tested have broken access control issues. That’s not a typo - it’s a security apocalypse hiding in plain sight. ...

May 6, 2026 Â· 18 min Â· Carl Sampson

OWASP Top 10 2025 Developer Guide

I’ve been working with the OWASP Top 10 for years, and the 2025 update just dropped some major changes that every developer needs to understand. Supply chain attacks finally made it into the top 10 (as A03), and honestly, it’s about time. I’ve been seeing these attacks destroy companies for the past few years. Here’s the thing about OWASP Top 10 2025: it’s not just updating the old list - it’s completely rethinking modern threats. Security misconfiguration jumped from #5 to #2, and they merged SSRF into broken access control because that’s how attackers actually chain these vulnerabilities together. ...

May 5, 2026 Â· 15 min Â· Carl Sampson

Python SSRF Prevention Guide [2026]

I’ve been hunting SSRF bugs in Python applications for over five years, and the number of vulnerable codebases I encounter is honestly terrifying. Flask apps with requests.get(user_input) scattered everywhere. Django views that blindly fetch URLs from form data. FastAPI endpoints that turn your server into an attacker’s proxy. The worst part? Most developers don’t realize they’re building SSRF vulnerabilities until it’s too late. By then, attackers have already stolen your AWS credentials or mapped your entire internal network. ...

May 1, 2026 Â· 15 min Â· Carl Sampson

CSRF vs SSRF: Key Differences, Examples & Defenses

The short answer: CSRF makes a logged-in victim’s browser send a forged request to your site, riding on their cookies. SSRF makes your server send a request to a destination the attacker picks, riding on its network access. CSRF abuses the user’s session; SSRF abuses the server’s position inside your network. CSRF (Cross-Site Request Forgery) SSRF (Server-Side Request Forgery) Who sends the forged request The victim’s browser Your application server Whose trust is abused The site’s trust in the user’s cookies The network’s trust in the server What the attacker needs A logged-in victim to visit their page Any input the server turns into a URL fetch Typical target A state-changing endpoint (POST /transfer, /email/change) Internal hosts, cloud metadata (169.254.169.254), localhost admin ports Attacker sees the response? No, the browser’s same-origin policy hides it Sometimes (full-read SSRF); often blind Worst case Actions taken as the victim: account takeover, transfers Cloud credential theft, internal network access, sometimes RCE Primary defenses CSRF tokens, SameSite cookies, Origin checks Destination allowlist, resolved-IP checks, egress filtering, IMDSv2 CWE CWE-352 CWE-918 OWASP Top 10 Under A01 Broken Access Control A10:2021; merged into A01 in the 2025 list They both have “request forgery” in the name, so people lump them together. But they’re completely different beasts that’ll bite you in completely different ways, and the defense for one does nothing for the other. I’ve spent way too many nights debugging both, so here’s the side-by-side first, then the detail. ...

May 1, 2026 Â· Updated November 27, 2026 Â· 9 min Â· Carl Sampson

Understanding HTTP Request Smuggling Attacks

HTTP Request Smuggling (HRS) is a powerful web application vulnerability that exploits discrepancies in how different servers or intermediaries parse and handle HTTP requests. This misalignment can allow an attacker to “smuggle” a malicious request through a front-end server (such as a load balancer, proxy, or CDN) so that it is interpreted differently by the back-end server. How HTTP Request Smuggling Works Modern web applications often rely on chains of intermediaries — proxies, reverse proxies, CDNs, and application servers. These components must all agree on where one HTTP request ends and the next begins. If they disagree, attackers can craft specially malformed requests that cause desynchronization. ...

September 6, 2025 Â· 3 min Â· Carl Sampson

Content Security Policy Complete Guide [2026]

Content Security Policy (CSP) is a browser security mechanism that controls which resources a web page is allowed to load. By declaring a policy via HTTP header, you tell the browser exactly which scripts, styles, images, fonts, and connections are permitted. Anything not explicitly allowed is blocked. CSP is one of the most effective defenses against Cross-Site Scripting (XSS) and data injection attacks. How CSP Works CSP is delivered as an HTTP response header: ...

February 23, 2023 Â· 8 min Â· Carl Sampson