All rules →
Rules / Swift
SHIELD-SWIFT-005

WebView JavaScript injection

highSwiftCWE-79CVSS 8.1

What it detects

evaluateJavaScript is called with a string containing interpolated variable data.

How to fix

Pass data via WKScriptMessageHandler or JSON-encode and escape values before injection.

Scan your repo freeFull documentation
Back to all rules
SHIELD-SWIFT-005: WebView JavaScript injection — Zennoxa Shield