Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
orval MCP client is vulnerable to a code injection attack.
Vulnerability Description
orval generates type-safe JS clients (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification. Prior to 7.18.0, the MCP server generation logic relies on string manipulation that incorporates the summary field from the OpenAPI specification without proper validation or escaping. This allows an attacker to "break out" of the string literal and inject arbitrary code. This vulnerability is fixed in 7.18.0.
CVSS Information
N/A
Vulnerability Type
在命令中使用的特殊元素转义处理不恰当(命令注入)
Vulnerability Title
orval 命令注入漏洞
Vulnerability Description
Orval是Orval开源的一个接口开发工具。 orval 7.18.0之前版本存在命令注入漏洞,该漏洞源于MCP服务器生成逻辑未对OpenAPI规范的summary字段进行适当验证或转义,可能导致任意代码注入。
CVSS Information
N/A
Vulnerability Type
N/A