CyberRota Analysis
AI-GeneratedThe Kiota PHP generator prior to version 1.32.4 is vulnerable to arbitrary code injection due to improper handling of double-quoted literals, which allows attackers to exploit interpolation constructs. This could lead to unauthorized code execution within generated PHP classes, posing a significant risk to applications utilizing this code. Developers and organizations using Kiota for PHP code generation should prioritize upgrading to version 1.32.4 to mitigate this vulnerability.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.32.4, Kiota's PHP generator embedded OpenAPI description, default fields, property names, and other schema-derived strings into PHP double-quoted literals through SanitizeDoubleQuote() in Writers/StringExtensions.cs without escaping $, allowing attacker-controlled ${...}, $var, or {$obj->prop} interpolation constructs to inject arbitrary PHP code into generated model and request-builder classes. This issue is fixed in version 1.32.4.