// REF. 19 / WEB SECURITY

Web Security cheat sheet

The ten most common ways web apps get breached, from the 2025 edition released in November 2025. Access control still tops the list, and server-side request forgery now lives under it rather than standing alone.

Every row here is defensive: what the risk is, how to test for it with authorization, and how to shut it down. The cheapest fix is almost always deny by default.

↓ Download the printable PDF free · letter size · no email needed

A01 access ctrl

what it is
users act outside intended permissions
test for it
swap ids and roles, try force-browsing
fix it
deny by default, check authz server-side
example
idor: change /account/123 to another id
ssrf
now folded in: validate outbound urls

A02 misconfig

what it is
insecure defaults or verbose error pages
test for it
check default creds, headers, open ports
fix it
harden baseline, disable unused features
example
admin console exposed with default login
prevent
repeatable hardened config per env

A03 supply chain

what it is
risk from deps, builds and pipelines
test for it
audit deps, scan sbom, check pins
fix it
pin versions, verify signatures, sbom
example
compromised transitive dependency
prevent
trusted registries, lockfiles, review

A04 crypto

what it is
weak or missing encryption of data
test for it
check tls, cipher suites, stored secrets
fix it
tls everywhere, strong aead, manage keys
example
passwords stored as unsalted md5
prevent
no home-rolled crypto, rotate keys

A05 injection

what it is
untrusted input runs as code or query
test for it
inject quotes and payloads, watch output
fix it
parameterize queries, escape output
example
' OR 1=1 -- bypasses a login query
xss
included here: encode html, use csp

A06 bad design

what it is
missing controls by design, not a bug
test for it
threat model, review abuse cases
fix it
secure patterns, limits, design review
example
no rate limit on password reset
prevent
threat model before you build

A07 auth

what it is
weak login, session or recovery
test for it
try default creds, brute force, fixation
fix it
mfa, rate limit, strong session ids
example
no lockout lets credential stuffing win
prevent
block weak passwords, rotate sessions

A08 integrity

what it is
unverified code or data is trusted
test for it
check update signing and ci/cd trust
fix it
sign artifacts, verify before use
example
auto-update pulls an unsigned package
prevent
no untrusted deserialization

A09 logging

what it is
breaches go unlogged and unnoticed
test for it
trigger events, confirm logs and alerts
fix it
log authn and access, alert on anomalies
example
failed logins never raise an alert
prevent
central logs, tested alerting

A10 exceptions

what it is
bad error handling, fail-open logic
test for it
force errors, odd inputs, edge states
fix it
fail closed, handle every error path
example
exception skips auth check, lets user in
prevent
default deny on unexpected states
Web Security Field Manual Desk Mat

// KEEP IT UNDER YOUR KEYBOARD

Web Security Field Manual Desk Mat

from $34 · printed to order in the USA

See the desk mat