CVE-2026-63412 janephp · janephp
AI summary
The Jane (janephp) open-api-3 generator before 7.12.0 writes query parameter names verbatim into generated docblocks, so an attacker-influenced OpenAPI document can inject arbitrary PHP into the generated client. The code executes with the application's privileges when the client is instantiated. Critical (CVSS 9.3); fixed in 7.12.0.
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 query parameter name verbatim as an array key in generated Client/Endpoint method docblocks. A query parameter name 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-19 16:21 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-129313
- CISA SSVC
- Exploitation: none · Automatable: yes · 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-q8v2-3j4h-xg2p