All rules →
Rules / Java
SHIELD-JAVA-012

SSRF via URL openConnection

highJavaCWE-918CVSS 8.6

What it detects

Opening a connection to a URL built from a variable host allows server-side request forgery.

How to fix

Validate the target against an allowlist of permitted hosts and protocols before connecting.

Scan your repo freeFull documentation
Back to all rules
SHIELD-JAVA-012: SSRF via URL openConnection — Zennoxa Shield