1 matches found
swagger-typescript-api vulnerable to code injection via unescaped OpenAPI path strings in generated method bodies
Summary swagger-typescript-api interpolates OpenAPI path strings the keys of the paths object, e.g. /users/id directly into a JavaScript template literal inside the body of every generated API method, without escaping. A spec path containing $ … survives parseRouteName's x / :x rewriter verbatim...
8.3CVSS6AI score
SaveExploits0References5Affected Software1
20