تخطَّ إلى المحتوى

Template Injection (ARCH9130)

هذا المحتوى غير متوفر بلغتك بعد.

Key swift.security.template-injection · Severity error · Category security · CWE CWE-1336

Flags Leaf rendering where the template name / text comes from request data.

req.view.render(req.query["page"] ?? "home")
req.view.render("home", ctx)

Templates are files under your control; request data is only ever context data.