You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"vulnerability": "Vulnerability Detected: Path Traversal. This code is vulnerable to path traversal attacks, as it allows a user to delete a file by providing a relative path.",
"source code": "using Microsoft.AspNetCore.Mvc;\n\nnamespace WebFox.Controllers.PathTraversal\n{\n public class PathTraversalTest1 : ControllerBase\n {\n [HttpGet(\"{path}\")]\n public void Test(string path)\n {\n System.IO.File.Delete(path);\n }\n\n\n }\n}",