Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft OpenAPI parameter description containing */
-
DeliveryVictim generates client with Jane generator
-
ExploitRaw PHPDoc docblock terminates early
-
ExecutionInjected __construct runs on client instantiation
-
ImpactExecute arbitrary PHP with app privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires all of: (1) the victim uses the Jane open-api-3 generator prior to 7.12.0 (the patch also covers the OpenApi2 and JsonSchema model/property generators); (2) the victim generates a client/endpoint from an OpenAPI document the attacker can influence, where a parameter name or description contains the PHPDoc closing sequence |
| Impact | The input rates this CVSS 4.0 9.3 with a vuln.today Decision label of act_now, and the technical impact is genuine arbitrary PHP execution (CWE-94/95/116) confirmed by the GHSA advisory and the patch diff in PR #960. However, the signals conflict on reachability: the supplied 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) implies remote, unauthenticated, no-interaction exploitation, but the description and advisory make clear this is a build-time / SDK-generation supply-chain flaw - exploitation requires a victim to generate a client from an attacker-influenced OpenAPI 3 document and then instantiate the generated Client. The UI:N in the input understates this; a human developer must choose to run codegen against the malicious spec and use the result. No CISA KEV listing and no EPSS score are present in the input, so there is no evidence of widespread or automated active exploitation; the act_now label rests on the high technical impact and a reporter-verified PoC rather than observed in-the-wild use. Net: a real priority for anyone generating Jane clients from untrusted or third-party OpenAPI specifications, but materially lower risk for teams that only consume trusted first-party specs, and not a directly internet-reachable service vulnerability despite the AV:N rating. A fixed version (7.12.0) is available and is the vendor remedy. |
| Exploit ScenarioDerived | An attacker publishes or influences an OpenAPI 3 document containing a parameter whose description embeds a PHPDoc close delimiter followed by injected PHP, e.g. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
PHP code injection in Jane's open-api-3 generator (jane-php, versions prior to 7.12.0) lets attacker-controlled text in an OpenAPI parameter description break out of a generated PHPDoc block and inject live PHP into the generated Client/Endpoint class body, including an attacker-supplied __construct that executes when the SDK client is instantiated. The GHSA advisory confirms the issue is verified on 7.11.2 / PHP 8.1 and publishes a proof-of-concept reproduction (reproduce.sh, gen.php, make_spec.py), so a public PoC reference exists; it is not verified as working exploit code and there is no CISA KEV entry - the vuln.today Decision label is act_now and the supplied CVSS 4.0 vector scores 9.3, while our assessed CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) reflects that a developer must run the generator and then instantiate the generated client. Exploitation is not a request-path attack: the attacker must influence the OpenAPI document that is fed to the generator, and only applications that build and then use SDKs from such untrusted specifications are exposed, with arbitrary PHP running at the consuming application's privileges. The vendor-released patch is version 7.12.0.
RemediationAI
Upgrade to jane-php 7.12.0 or later (the fixed release for packagist/jane-php/open-api-3 and the sibling OpenApi2/JsonSchema generator components) per https://github.com/janephp/janephp/releases/tag/v7.12.0, which contains the sanitization commit 0ea379deab5689475d62653b408de62ad3611c7a and PR https://github.com/janephp/janephp/pull/960; the vendor advisory is https://github.com/janephp/janephp/security/advisories/GHSA-xwcw-j52r-34x4, and the same release also carries fixes for GHSA-x9xr-53qx-9qcf and GHSA-q8v2-3j4h-xg2p. After upgrading, regenerate every SDK/model built from a spec that was not strictly first-party and review the regenerated docblocks for stray */ sequences before committing, since previously generated clients can still contain the injected constructor until regeneration. Until the upgrade is deployed, the effective control is operational rather than runtime: only run the generator against OpenAPI/JSON Schema documents from a trusted, vetted source (code review the spec in the same pipeline as the generated diff), and treat third-party or partner-supplied specs as untrusted input - this does not stop a determined spec-supplied injection, so it is a stopgap, not a fix. Grepping generated output for */ outside expected docblock terminators and for unexpected __construct methods in Client classes will catch previously poisoned artifacts, but the vendor's complete fix is the 7.12.0 sanitization itself.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Jane generates PHP models and API clients from JSON Schema and OpenAPI specifications and constructs the output with nikic/php-parser (AST), which escapes PHP string literals. PHPDoc comment text, however, is emitted raw: the open-api-3 parameter generator writes parameter descriptions verbatim into @param array{ "<name>"?: ... } docblocks on generated Client/Endpoint methods. Because the injected key is a raw string key and not an identifier that gets mangled, a */ sequence in a parameter name or description closes the /** ... */ block early and the remaining text lands in class-body position - the advisory's crafted payload is */ public function __construct(){ <code> } /*, which adds a working constructor to the generated Client class. This is a code-generation/injection flaw in the CWE-94 family (the advisory also classifies it CWE-95 and CWE-116, i.e. eval-style injection and improper output encoding), not a memory-safety or parser bug. The fix applied in PR #960 escapes the delimiter as *\/ throughout PHPDoc emission: GetterSetterGenerator, PropertyGenerator (JsonSchema model generators), the OpenApi2 and OpenApi3 GetConstructorTrait docblock builders, and the BodyParameterGenerator / NonBodyParameterGenerator @param and @var builders, all now str_replace */ in both descriptions and parameter names. The same PR CHANGELOG entry bundles two further advisories, GHSA-x9xr-53qx-9qcf and GHSA-q8v2-3j4h-xg2p, indicating sibling PHPDoc-injection variants across the OpenApi and JsonSchema components.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Attacker needs no privileges (PR:N) but the victim must generate a client from the malicious OpenAPI spec and instantiate it, so UI:R; successful injection yields full arbitrary PHP, hence C/I/A High.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
Primary CWE: CWE-94 (Improper Control of Generation of Code); advisory also lists CWE-95 and CWE-116.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
CVE-2026-63411 is a critical code injection vulnerability in the Jane PHP OpenAPI generator (jane-php) that allows attacker-controlled content in OpenAPI parameter descriptions to inject malicious PHP code into generated SDK client classes. If exploited, this could lead to arbitrary code execution on developer or build systems when the generated client is instantiated, potentially compromising the integrity of applications that rely on these generated SDKs. Leadership should prioritize remediation because the vulnerability affects the software supply chain and could enable attackers to gain a foothold in development environments, though exploitation requires a developer to run the generator on a malicious OpenAPI document and then instantiate the client.
No vendor-released patch identified at time of analysis
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-129315
GHSA-xwcw-j52r-34x4
NVD
CVE.org
EPSS
Exploit-DB