AuditCoreAuditCore

How to fix common vulnerabilities

Step-by-step fix guides for the vulnerability classes that come up most often in real audits. Each guide has detection steps, ordered fix instructions, code examples in multiple languages, and verification tests. Built around the same playbook our scanners use.

CriticalCWE-639

How to fix BOLA / IDOR

Broken Object Level Authorization — the #1 OWASP API vulnerability. Multi-role replay testing, fix patterns, and verification.

Read guide
CriticalCWE-89

How to fix SQL injection

Parameterized queries, ORM usage patterns, escape strategies and the cases where they all fail. Plus tests to verify the fix sticks.

Read guide
HighCWE-611

How to fix XXE (XML External Entity)

Disabling external entities in 6 popular XML parsers (libxml2, lxml, Java, .NET, PHP, Node). Plus DTD attack, file read and SSRF prevention.

Read guide
HighCWE-918

How to fix SSRF (Server-Side Request Forgery)

Allow-list approach, URL validation, IMDS protection (cloud metadata), DNS rebinding defense. The 6 fix layers in the right order.

Read guide
CriticalCWE-345

How to fix JWT alg:none vulnerability

The classic JWT bypass. Why it still happens in 2026 (yes, really), how to lock the algorithm in 5 popular libraries, and how to test you got it right.

Read guide
HighCWE-942

How to fix CORS misconfiguration

Wildcard with credentials, reflected origin, null origin, trusting subdomain — the 4 fatal CORS patterns and how to fix each in nginx, Express and Next.js.

Read guide
HighCWE-79

How to fix XSS (Cross-Site Scripting)

All three variants — reflected, stored, DOM-based. Output escaping in React/Vue, sanitization, CSP setup, HttpOnly cookies, DOM XSS audit patterns.

Read guide
HighCWE-22

How to fix Path Traversal

Why stripping ../ doesn't work. Path canonicalization + allow-listing in Node, Python, Go, PHP. Plus zip-slip and LFI variants.

Read guide
HighCWE-943

How to fix NoSQL Injection

MongoDB / CouchDB / DynamoDB. $ne / $gt / $regex / $where injection. Type casting, schema validation, and disabling server-side JavaScript.

Read guide
CriticalCWE-94

How to fix SSTI (Server-Side Template Injection)

Jinja2, Twig, Freemarker, ERB, Handlebars. Don't render user input AS templates — render it INTO templates. Sandboxing and isolation patterns.

Read guide
HighCWE-352

How to fix CSRF

SameSite cookies, CSRF tokens, double-submit pattern, Origin/Referer validation. The 5 fix layers and when each matters.

Read guide
CriticalCWE-502

How to fix Insecure Deserialization

Java ObjectInputStream, Python pickle, PHP unserialize, Ruby YAML, .NET BinaryFormatter. Why JSON is the answer, and how to migrate safely.

Read guide
HighCWE-434

How to fix Insecure File Upload

Layered defense: extension + MIME + magic bytes + random filenames + separate origin + ClamAV. The chain that catches polyglot files and zip-slip.

Read guide
HighCWE-840

How to fix Business Logic Abuse

Price manipulation, quantity tampering, status spoofing, mass assignment. Server-authoritative defenses for checkouts and state machines.

Read guide
HighCWE-362

How to fix Race Conditions

TOCTOU, double-spend, inventory oversell. DB transactions, atomic UPDATE WHERE, distributed locks, idempotency keys.

Read guide
HighCWE-1321

How to fix Prototype Pollution

JavaScript-specific. __proto__ / constructor.prototype attacks via _.merge / Object.assign. Object.create(null), Map, sanitization, dependency upgrades.

Read guide
HighCWE-644

How to fix Host Header Injection

Password reset poisoning, cache poisoning, SSRF via Host. Allow-list hostnames at the framework + proxy + cache layers.

Read guide
CriticalCWE-78

How to fix Command Injection

OS command injection / RCE. Pass arguments as arrays (no shell), allow-list commands, use language-native libraries, sandbox subprocesses.

Read guide

Want us to scan and tell you which apply?

The Free Trial runs all the detection logic from these guides against your homepage automatically. No credit card.

Run free vulnerability scan