Live threats

All CVEs / janephp

CVE-2026-63411janephp

PHP Code Injection in Jane OpenAPI Generator

Critical 9.3 No auth needed

Priority
76
CVSS 4.0
9.3
EPSS
—
Auth required
No
Published
Nov 18, 2026
Updated
Nov 23, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94, CWE-95, CWE-116
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
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

What happens

The Jane OpenAPI 3 generator emits parameter descriptions verbatim in generated method docblocks without sanitization. An attacker can include PHPDoc closing delimiters in a parameter description to terminate the comment early and inject arbitrary PHP code, including a __construct method executed when the generated client is instantiated. Exploitation requires generating a client from an attacker-controlled OpenAPI document.

AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 7.12.0

Update jane-php/open-api-3 to version 7.12.0 or later and regenerate clients from trusted OpenAPI documents.

Vendor advisory · github.com ↗

AI-generated from public data; not reviewed.

  1. Apply the vendor's security update for janephp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist jane-php/open-api-3 < 7.12.0 7.12.0 composer require "jane-php/open-api-3:^7.12.0"

Per OSV / GitHub Advisories (GHSA-xwcw-j52r-34x4). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.