A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /janephp/janephp/commit/0ea379deab5689475d62653b408de62ad36…
- github.com /janephp/janephp/pull/960
- github.com /janephp/janephp/releases/tag/v7.12.0
- github.com /janephp/janephp/security/advisories/GHSA-xwcw-j52r-34x4
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning