phpatch.com

← phpatch.com home

Jane: Instantiation RCE via parameter description -> raw PHPDoc */ breakout (jane-php/open-api-3)

Critical · fetched 2026-11-19

### 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.

Our analysis

Who is affected

This advisory is PHP-relevant but does not enumerate interpreter branches: it concerns a PHP application or component — the product named in the summary above. The affected versions and the fixed release to move to are stated in the remediation and the source advisory.

Exploitation status

Not KEV-listed in this record. In the source data for this record (retrieved 2026-11-19), the vulnerability was not listed in the CISA Known Exploited Vulnerabilities catalog. Read that narrowly: it means no catalogued exploitation at retrieval time, not that exploitation is impossible or unreported elsewhere.

Patch priority

Patch immediately — within 24 to 72 hours. The drivers for this record: the source rates it Critical; it affects a PHP application component rather than the interpreter. Until it is applied, restrict network exposure of the affected service where you can and check the source advisory for any vendor workaround.

How this verdict is derived: from the fields on this page — the source advisory's severity and CVSS score, CISA KEV listing status and the affected-branch data — as retrieved 2026-11-19. It is a triage aid, not a substitute for the source advisory.

Remediation

Upgrade jane-php/open-api-3 to 7.12.0 or later.

Affected PHP branches

See the source advisory.

Check your site

Source: GitHub Global Security Advisories (Composer ecosystem) · retrieved 2026-11-19T11:20:13-05:00 · https://github.com/advisories/GHSA-xwcw-j52r-34x4

← All threats