SecurityContext

CVE-2026-63413: Jane PHP - Code Injection

  • Cve: CVE-2026-63413
  • Name: Jane PHP - Code Injection
  • Description: 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.
  • Impact: Attackers can execute arbitrary PHP code with the consuming application's privileges, potentially leading to full application compromise.
  • Remediation: Upgrade to version 7.12.0 or later.
  • Vulnerability impact: remote_code_execution
  • Requirements: Attacker must control or influence the OpenAPI document used to generate the client, and the generated SDK must be used.
  • Labels source: securitycontext
  • Severity: critical
  • Cvss score: 9.3
  • Cvss 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
  • Epss score: 0.00468
  • Epss percentile: 0.41048
  • Assignee: [email protected]
  • Published at: 2026-11-18T22:17:22Z
  • Age in days: 6
  • Modified at: 2026-11-19T16:21:40Z
  • References total: 4
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-63413
  • Nvd status: received
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: vulnerability type, requirement type, hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/janephp/janephp/commit/0ea379deab5689475d62653b408de62ad3611c7a
https://github.com/janephp/janephp/pull/960
https://github.com/janephp/janephp/releases/tag/v7.12.0
https://github.com/janephp/janephp/security/advisories/GHSA-x9xr-53qx-9qcf

Projects

RepositoryLink kindsIndexedUrl
janephp/janephpcommit, fix, package, pull, releases, security_advisoryyes/v1/repositories/janephp/janephp

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts