CVE-2026-63411 — Vulnerability in jane-php/open-api-3 — CVE Details
Jane: Instantiation RCE via parameter description -> raw PHPDoc */ breakout (jane-php/open-api-3)
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.54%). Schedule for your next planned update.
Does your project use an affected jane-php/open-api-3 version?
Paste your composer.lock to check it for CVE-2026-63411 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
jane-php (open-api-3) builds PHP via nikic/php-parser (AST), so string literals are escaped -- but PHPDoc comment text is emitted RAW. The generated Client/Endpoint method docblocks embed the parameter description verbatim in a @param array{ "<name>"?: ... } block. A */ in the parameter description closes the /** ... */ docblock early and lands in class-body position; because the name is a raw string key (not identifier-mangled), the */ and following PHP survive. Injecting */ public function __construct(){ <code> } /* adds an attacker-controlled __construct to the generated Client class, which runs when the client is instantiated -> RCE (CWE-94). Verified 7.11.2/PHP8.1.
Impact
Generating a client from an attacker-influenced OpenAPI document and using the generated SDK (instantiating the client, which apps do on every call) runs attacker PHP. CWE-94/95/116.
PoC
reproduce.sh (+ make_spec.py, gen.php): scaffolds a composer project with jane-php/open-api-3, generates, instantiates the generated Client, shows the marker.
Suggested fix
Neutralize */ (e.g. */->* /) in all generated PHPDoc text (parameter names, descriptions). Regression-test with a parameter name/description containing */.
maintainer-report.txt
reproduce.sh
gen.php
make_spec.py
Advisory Timeline
- First published November 19, 2026 (7 days ago).
- Last revised November 19, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "jane-php/open-api-3:^7.12.0"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Packagist (1).
| Package | Fixed In |
|---|---|
| jane-php/open-api-3 Packagist · Affected: v5.3.0, v5.3.1, v5.3.2, v5.3.3 (+67 more) | 7.12.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
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
References
- https://github.com/janephp/janephp/security/advisories/GHSA-xwcw-j52r-34x4WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-63411ADVISORY
- https://github.com/janephp/janephp/pull/960WEB
- https://github.com/janephp/janephp/commit/0ea379deab5689475d62653b408de62ad3611c7aWEB
- https://github.com/janephp/janephpPACKAGE
- https://github.com/janephp/janephp/releases/tag/v7.12.0WEB
Frequently Asked Questions
- What is CVE-2026-63411?
- Jane: Instantiation RCE via parameter description -> raw PHPDoc */ breakout (jane-php/open-api-3). This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2026-63411?
- CVE-2026-63411 affects jane-php/open-api-3. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-63411 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 39.2% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-107845CRITICAL
Contao: Cross-site scripting in the comments bundle
- CVE-2026-114509CRITICAL
Laravel TokenGuard authentication bypass through non-string API credentials
- CVE-2026-63412CRITICAL
Jane: Instantiation RCE via query parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)
- CVE-2026-63413CRITICAL
Jane: Instantiation RCE via header parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)