PHP Libraries Vulnerability in Jane Affecting API Client Generation
CVE-2026-63411
What is CVE-2026-63411?
The Jane PHP library suite, which is designed for generating models and API clients from JSON Schema and OpenAPI specifications, contains a vulnerability in versions prior to 7.12.0. This vulnerability allows an attacker to execute arbitrary PHP code embedded within OpenAPI parameter descriptions due to improper handling of PHPDoc comments during client generation. Specifically, if a parameter description includes a PHPDoc closing delimiter, it may truncate the comment prematurely, resulting in the injection of malicious PHP code into a class-body context. This opens a vector for exploitation that requires an attacker to craft a malicious OpenAPI document and coax the affected application into generating an SDK from it. The implications are significant, as this could enable an attacker to execute PHP code with the privileges of the application utilizing the generated client. The issue has been resolved in Jane version 7.12.0.
Affected Version(s)
janephp < 7.12.0
