5 matches found
GHSA-3FHM-P725-H3G3 Refitter allows arbitrary code execution through unescaped OpenAPI paths
Summary Refitter emits each OpenAPI path the paths-object key verbatim into a Refit Get"" attribute string, without escaping " or restricting characters. A crafted single-line, /-prefixed path survives Refitter's default OpenAPI validation yet closes the attribute string and the enclosing interfa...
Refitter allows arbitrary code execution through unescaped OpenAPI paths
Summary Refitter emits each OpenAPI path the paths-object key verbatim into a Refit Get"" attribute string, without escaping " or restricting characters. A crafted single-line, /-prefixed path survives Refitter's default OpenAPI validation yet closes the attribute string and the enclosing interfa...
Code Injection
fastapicodegenerator is vulnerable to Code Injection. The vulnerability is due to improper sanitization and escaping of attacker-controlled OpenAPI paths inserted into generated Python route decorators, which allows an attacker to inject and execute arbitrary Python expressions with the privilege...
Christian Helle Refitter processing logic error vulnerability
Versions prior to 2.1.2 of Christian Helle’s Refitter contain a security vulnerability. This vulnerability arises because the OpenAPI paths object keys are written directly into Refit route properties without escaping them. It is possible to craft path strings that close attribute strings and...
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...