Ir al contenido

Dynamic Code Execution (ARCH9131)

Esta página aún no está disponible en tu idioma.

Key swift.security.dynamic-code-execution · Severity critical · Category security · CWE CWE-95

Flags JSContext.evaluateScript / NSExpression(format:) / NSPredicate(format:) with a script built from untrusted data.

context.evaluateScript(userInput)
map the request onto a fixed set of operations

Never evaluate user input as code.