Read the docs

Code injection in Jane PHP open-api-3 generator via parameter descriptions

Priority HIGH 75CWE-116Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.

Summary

Jane, a set of PHP libraries that generates models and API clients from JSON Schema and OpenAPI specifications, is affected before 7.12.0 in the open-api-3 generator (jane-php/open-api-3). The generator copies an OpenAPI parameter description verbatim into generated Client and Endpoint method docblocks, so a description containing a PHPDoc closing delimiter ends the comment early and places attacker-controlled PHP in class body position (CWE-94). An attacker who supplies an OpenAPI document used to generate a client can run arbitrary PHP with the consuming application's privileges when the generated SDK is used, including through a constructor that runs on instantiation.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00543 39th percentileScored 2026-11-30
Fix Fixed janephp (janephp): 7.12.0jane-php/open-api-3 (Packagist): 7.12.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
janephpjanephpbefore 7.12.07.12.0Patch availableCNA
—jane-php/open-api-3 (Packagist)before 7.12.07.12.0Patch availableGHSA-xwcw-j52r-34x4
  • janephp Vendorjanephp Affected before 7.12.0 Fixed in 7.12.0 Patch available CNA
  • jane-php/open-api-3 (Packagist) Vendor— Affected before 7.12.0 Fixed in 7.12.0 Patch available GHSA-xwcw-j52r-34x4

Remediation

Upgrade janephp/janephp and jane-php/open-api-3 to version 7.12.0. CISA has not listed this vulnerability in its Known Exploited Vulnerabilities catalog.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

  • Fix · CNA janephp (janephp) Fixed in 7.12.0
  • Fix · GHSA-xwcw-j52r-34x4 jane-php/open-api-3 (Packagist) Fixed in 7.12.0 Advisory →

Timeline

  1. 2026-11-18 Threatist record created from CVE-2026-63411
  2. 2026-11-19 Alias added: GHSA-xwcw-j52r-34x4
  3. 2026-11-19 Fix available: Packagist/jane-php/[email protected] · GHSA-xwcw-j52r-34x4
  4. 2026-11-19 CVSS score added · GHSA-xwcw-j52r-34x4
  5. 2026-11-19 Weakness changed · GHSA-xwcw-j52r-34x4
  6. 2026-11-19 6 new references · GHSA-xwcw-j52r-34x4
  7. 2026-11-23 CISA SSVC decision points changed

References

  • TI-2026-94249 SSRF and path traversal in Jane PHP $ref resolution CVSS 4.0HIGH 7.0
  • TI-2026-94248 Jane open-api-3 PHP code injection via header parameter name CVSS 4.0CRITICAL 9.3
  • TI-2026-94247 Code injection in Jane open-api-3 generator via query parameter names CVSS 4.0CRITICAL 9.3

Sources