CVE-2026-63413
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
jane-php/open-api-3Packagist | < 7.12.0 | 7.12.0 |
Affected products
1Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-x9xr-53qx-9qcfghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-63413ghsaADVISORY
- github.com/janephp/janephp/commit/0ea379deab5689475d62653b408de62ad3611c7anvdWEB
- github.com/janephp/janephp/pull/960nvdWEB
- github.com/janephp/janephp/releases/tag/v7.12.0nvdWEB
- github.com/janephp/janephp/security/advisories/GHSA-x9xr-53qx-9qcfnvdWEB
News mentions
0No linked articles in our index yet.