CVE-2026-63411 janephp · janephp
AI summary
The Jane (janephp) open-api-3 generator before 7.12.0 emits OpenAPI parameter descriptions verbatim into generated client docblocks, letting an attacker-influenced OpenAPI document inject arbitrary PHP into the generated SDK. The code runs with the consuming application's privileges when the client is instantiated. Critical (CVSS 9.3); upgrade to 7.12.0 and avoid generating clients from untrusted specs.
Official description
Jane is a set of PHP libraries that generates models and API clients from JSON Schema and OpenAPI specifications. Prior to 7.12.0, the Jane open-api-3 generator emits an OpenAPI parameter description verbatim in generated Client/Endpoint method docblocks. A parameter description containing a PHPDoc closing delimiter can terminate the comment early and place attacker-controlled PHP in class-body position, including an __construct method that runs when the generated Client is instantiated. Exploitation requires generating a client from an attacker-influenced OpenAPI document and then using the generated SDK, and can execute arbitrary PHP with the consuming application's privileges. This issue is fixed in version 7.12.0.
- Published
- 2026-11-18 22:17 UTC
- Modified
- 2026-11-23 22:20 UTC
- CVSS
- 9.3 Critical
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS
- 0.54% (percentile 39)
- ENISA EUVD
- EUVD-2026-129315
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: total
- CWE
- CWE-94
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Attack requirements
- none
- Privileges required
- none
- User interaction
- none
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/janephp/janephp/commit/0ea379deab5689475d62653b408de62ad3611c7a - github.com
https://github.com/janephp/janephp/pull/960 - github.com
https://github.com/janephp/janephp/releases/tag/v7.12.0 - github.com
https://github.com/janephp/janephp/security/advisories/GHSA-xwcw-j52r-34x4