Why React Apps Get Hacked
A React single-page app runs entirely in the browser, which means everything bundled into it is visible to anyone who opens DevTools. The classic React security failures are secrets compiled into the bundle, dangerouslySetInnerHTML used on untrusted input, and a backend API that trusts the client because "the UI hides that button". We scan for what a React app actually exposes once it is live.
Common React Vulnerabilities
Secrets in the bundle
API keys, tokens, and backend URLs hardcoded or injected at build time end up in the minified JS. Minification is not security — they are trivially extractable.
XSS via dangerouslySetInnerHTML
Rendering unsanitized user input through dangerouslySetInnerHTML (or inserting raw HTML) opens stored and reflected XSS.
Client-side authorization only
Hiding admin features in the UI while the API still serves them to anyone who calls the endpoint directly. The backend must enforce every check.
Missing CSP
Without a Content-Security-Policy, injected scripts run freely. A strict CSP is the strongest defense-in-depth for an XSS-prone SPA.
Vulnerable dependencies
Large React dependency trees accumulate known CVEs. Outdated packages are a top entry point for supply-chain and client-side attacks.
What the Sable Scan Checks
Exposed secrets & API keys
We scan your client-side bundles and responses for leaked API keys, tokens, database URLs, and 100+ secret patterns that ship to the browser by accident.
Security headers & TLS
HSTS, CSP, X-Frame-Options, Referrer-Policy, Permissions-Policy, and TLS protocol/cipher configuration — graded A-F with copy-paste fixes.
CORS & access control
Overly permissive CORS, wildcard origins with credentials, and broken object-level authorization (IDOR/BOLA) where one user can reach another user's data.
Injection & API surface
SQL/NoSQL injection, exposed OpenAPI/Swagger specs, GraphQL introspection, mass assignment, missing rate limits, and excessive data exposure.
OWASP Top 10 coverage
Autonomous pentesting agents test against the full OWASP Top 10 2025, validate each finding with a proof-of-concept, and re-test after you fix.
Validated findings, not noise
Every reported issue is confirmed by an agent before it reaches you — so you get real, exploitable findings with severity and remediation, not scanner spam.
Scan Your React App in Minutes
Create a free account, point the agents at your app, and get validated findings with proof-of-concept and fix guidance. 150 founder credits, no credit card.
Get 150 Free Credits