Get Started
- CodeAnt AI
- Control Center
- Pull Request Review
- IDE
- Compliance
- Anti-Patterns
- Code Governance
- Infrastructure Security Database
- Application Security Database
- Apex
- Bash
- C
- Clojure
- Cpp
- Csharp
- Dockerfile
- Elixir
- Lang
- Phoenix
- Security
- Action-reuse-csrf
- Cross-site-websocket-hijacking
- Hardcoded-secrets
- Hsts-not-enabled
- Https-not-enabled
- Missing-csp
- Missing-csrf-protections
- Missing-secure-browser-headers
- Fingerprints
- Generic
- Go
- Html
- Java
- Javascript
- Json
- Kotlin
- Ocaml
- Php
- Problem-based-packs
- Python
- Ruby
- Rust
- Scala
- Solidity
- Swift
- Terraform
- Typescript
- Yaml
Cross-site-websocket-hijacking
Cross site websocket hijacking
The app is not validating the origin when establishing a websocket server. Websocket connections are not bound by the same-origin policy. Connections that do not validate the origin may leak information to an attacker.
Likelihood: MEDIUM
Confidence: HIGH
CWE:
- CWE-346: Origin Validation Error
OWASP:
- A05:2021 - Security Misconfiguration