sadrobot

← Back to the monthly list

CVE-2026-63413 janephp · janephp

9.3 Critical

AI summary

The Jane (janephp) open-api-3 generator before 7.12.0 writes header 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 header parameter name verbatim as an array key in generated Client/Endpoint method docblocks. A header 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-129311
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