CVE-2026-63413 — janephp
One of 4 janephp vulnerabilities published together by NVD: our article covers all of them.
PHPWebVulnerabilitiesEndpoint securityResearch article
Jane PHP Library Code Injection Vulnerability in OpenAPI Generator
| CVE | CVE-2026-63413 |
|---|---|
| Vendor and product | janephp |
| Published | November 19, 2026 00:15 UTC |
| Research cut-off | November 18, 2026 23:50 UTC |
| Updated | November 19, 2026 16:30 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-11-18); CISA KEV catalog |
Update — November 19, 2026
- GitHub scored it CVSS 4.0 9.3 (Critical): 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. (GitHub advisory)
- A fixed version is now listed: jane-php/open-api-3 (Packagist) 7.12.0 (see the versions table below). (GitHub advisory)
Executive summary
The Jane PHP library, used to generate models and API clients from JSON Schema and OpenAPI specifications, contains a code injection flaw in its open-api-3 generator prior to version 7.12.0 [1]. The CVSS 4.0 score is 9.3 CRITICAL, with a vector indicating network-based access and high impact on confidentiality, integrity, and availability [1]. The reviewed sources do not report exploitation [2]. The main action is to upgrade to version 7.12.0, the version the sources give as the fix [1].
Key points
- The Jane PHP library's open-api-3 generator uses an OpenAPI header parameter name directly as an array key in the Client/Endpoint method docblocks, which can lead to code injection [1].
- The CVSS 4.0 score is 9.3 CRITICAL, with a vector indicating network-based access and high impact on confidentiality, integrity, and availability [1].
- The reviewed sources do not report exploitation [2].
- The vulnerability is fixed in version 7.12.0 [1].
- Defenders should update to version 7.12.0, the fixed version named in the record [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 4.0 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-63413 | janephp | Jane | CWE-94 | 9.3 CRITICAL, scored by security-advisories@github.com (Secondary) | 2026-11-18T22:17:22 | 2026-11-18T22:17:22 | Received |
Technical background
The sources do not describe the product's technical background beyond its role as a PHP library for generating models and API clients from JSON Schema and OpenAPI specifications.
Vulnerability description
The Jane open-api-3 generator uses an OpenAPI header parameter name directly as an array key within the Client/Endpoint method docblocks prior to version 7.12.0. If a header parameter includes a PHPDoc closing delimiter, it may terminate the comment early, enabling an attacker to inject their own PHP code into the class body, including the constructor which runs when the Client is created [1].
Root cause analysis
The sources state the weakness is CWE-94 (Improper Control of Generation of Code ('Code Injection')) [1].
Technical mechanics
The sources do not describe the technical mechanics of the flaw beyond the CVSS vector and the official description.
Attack surface and exploitation prerequisites
According to the CVSS vector, the attack surface is over the network (AV:N), requires no privileges (PR:N), and no user interaction (UI:N). The impact is high on confidentiality, integrity, and availability (VC:H, VI:H, VA:H) [1].
Exploitation scenarios and attack lifecycle
The sources do not describe specific exploitation scenarios or attack lifecycle steps.
Impact analysis
The impact analysis states that the flaw can allow arbitrary PHP execution with the consuming application's privileges. The CVSS 4.0 vector indicates high impact on confidentiality, integrity, and availability (VC:H, VI:H, VA:H) [1].
Affected products and versions
| Affected Product | Affected Version | Fixed Version |
|---|---|---|
| janephp | < 7.12.0 | 7.12.0 |
Exploitation and threat intelligence status
CVE-2026-63413 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-18 [2]. The reviewed sources do not report exploitation.
Indicators of compromise
The sources give no indicators of compromise.
Detection and exposure assessment
Check installed versions against the affected versions [1].
Immediate mitigation
The sources do not provide specific immediate mitigation steps. General guidance includes monitoring for unusual activity.
Permanent remediation
The vendor fixed the issue in version 7.12.0 [1].
Workarounds and compensating controls
The sources do not give any workarounds or compensating controls. General guidance includes limiting access to OpenAPI documents and reviewing generated code for anomalies.
Validation and verification
Confirm the installed version after updating and verify that the fix is applied.
Incident response
If exploitation is suspected, isolate affected systems and review logs for unusual activity.
Security hardening and prevention
Implement strict access controls on OpenAPI documents and regularly review generated code for anomalies.
Risk assessment
The CVSS 4.0 score is 9.3 CRITICAL, scored by security-advisories@github.com (Secondary) [1]. The reviewed sources do not report exploitation [2].
Conclusion
The Jane PHP library contains a code injection vulnerability in its open-api-3 generator before version 7.12.0. The flaw allows arbitrary PHP execution with the consuming application's privileges. The vendor has fixed the issue in version 7.12.0. Defenders should update to the fixed version and implement access controls to mitigate the risk.
Remediation checklist
Evidence gaps
- The sources do not describe the technical mechanics of the flaw beyond the CVSS vector and the official description.
- The sources do not provide specific exploitation scenarios or attack lifecycle steps.
- The sources do not give any indicators of compromise.
- The sources do not describe the impact beyond what the CVSS vector and description state.
- The sources do not mention a fixed version for products other than janephp.
References
- CVE-2026-63413 record. NIST National Vulnerability Database (NVD), 2026-11-18. https://nvd.nist.gov/vuln/detail/CVE-2026-63413. Accessed 2026-11-18.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-18. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-18.
Summary
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 header parameter name verbatim as an array key in generated Client/Endpoint method docblocks. A header parameter name 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.
Severity breakdown
Critical · 9.3
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- no
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| jane-php/open-api-3 (Packagist) | < 7.12.0 | 7.12.0 |
| janephp | < 7.12.0 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/janephp/janephp/commit/0ea379deab5689475d62653b408de62ad3611…
- github.com/janephp/janephp/pull/960
- github.com/janephp/janephp/releases/tag/v7.12.0
Other references
Affected
- janephp
Frequently asked questions
What is CVE-2026-63413?
The Jane PHP library, used to generate models and API clients from JSON Schema and OpenAPI specifications, contains a code injection flaw in its open-api-3 generator prior to version 7.12.0. The CVSS 4.0 score is 9.3 CRITICAL, with a vector indicating network-based access and high impact on confidentiality, integrity, and availability. The reviewed sources do not report exploitation. Weakness type: Improper Control of Generation of Code ('Code Injection') (CWE-94).
How severe is CVE-2026-63413?
CVE-2026-63413 has a CVSS 4.0 base score of 9.3 (critical), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-63413 being exploited?
Not as far as is known: CVE-2026-63413 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-63413?
jane-php/open-api-3 (Packagist) < 7.12.0 (fixed in 7.12.0); janephp < 7.12.0.
How do I fix CVE-2026-63413?
Upgrade to Jane PHP version 7.12.0, the fixed version named in the record. Review and restrict access to OpenAPI documents to prevent attacker influence. Monitor logs for unusual activity and review generated code for anomalies.
Timeline & sources
References
Related vulnerabilities & news
- SumUp Payment Gateway For WooCommerce Vulnerable to Insecure Direct Object Reference
- ZarinPal WooCommerce Plugin Vulnerable to Insecure Direct Object Reference
- CVE-2026-122039 — wpeverest User Registration & Membership – Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder
- Easy Form Builder Plugin Vulnerable to Stored XSS via Cross-Type Poisoning
- Premmerce Brands for WooCommerce Plugin Vulnerable to Stored XSS