# PHPDoc

Published articles for PHPDoc.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## CVE-2026-63413 - Jane: Instantiation RCE via header parameter name -\> raw PHPDoc \*/ breakout (jane-php/open-api-3)

DevFeed: [CVE-2026-63413 - Jane: Instantiation RCE via header parameter name -\> raw PHPDoc \*/ breakout (jane-php/open-api-3)](<https://devfeed.tech/articles/cve-2026-63413-jane-instantiation-rce-via-header-parameter-name-raw-phpdoc-breakout-jane-php-open-api-3-141373.md>)

Original publisher: [Read original article](<https://cvefeed.io/vuln/detail/CVE-2026-63413>)

Author: CVEFEED.io; github.com

Published: 2026-11-18T22:17:22Z

Content type: news

Language: en

Sources: [Latest High/Critical Vulnerabilitiy Feed](<https://devfeed.tech/sources/latest-high-critical-vulnerabilitiy-feed.md>)

Topics: [PHPDoc](<https://devfeed.tech/topics/phpdoc.md>), [SDK](<https://devfeed.tech/topics/sdk.md>), [Swagger](<https://devfeed.tech/topics/swagger.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [api](<https://devfeed.tech/tags/api.md>), [application](<https://devfeed.tech/tags/application.md>), [array](<https://devfeed.tech/tags/array.md>), [class](<https://devfeed.tech/tags/class.md>), [client](<https://devfeed.tech/tags/client.md>), [comment](<https://devfeed.tech/tags/comment.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cve-2026-63413](<https://devfeed.tech/tags/cve-2026-63413.md>), [exploitation](<https://devfeed.tech/tags/exploitation.md>), [fixed](<https://devfeed.tech/tags/fixed.md>), [generator](<https://devfeed.tech/tags/generator.md>), [header](<https://devfeed.tech/tags/header.md>), [janephp](<https://devfeed.tech/tags/janephp.md>), [json](<https://devfeed.tech/tags/json.md>), [json-schema](<https://devfeed.tech/tags/json-schema.md>), [open-api](<https://devfeed.tech/tags/open-api.md>), [parameter](<https://devfeed.tech/tags/parameter.md>), [php](<https://devfeed.tech/tags/php.md>), [phpdoc](<https://devfeed.tech/tags/phpdoc.md>), [rce](<https://devfeed.tech/tags/rce.md>)

### AI overview

Before 7.12.0, Jane's open-api-3 generator emitted OpenAPI header parameter names verbatim into generated PHPDoc array keys. A name containing a PHPDoc closing delimiter could break out of the comment and inject PHP into a class body, such as 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 that SDK; injected code can run with the consuming application's privileges. The issue is fixed in version 7.12.0.

### Source excerpt

CVE ID :CVE-2026-63413 Published : Nov. 18, 2026, 10:17 p.m. | 59 minutes ago 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. Severity: 9.3 | CRITICAL Visit the link for more details, such as CVSS details, affected products, timeline, and more...

## New in Symfony 8.2: Generics and Stricter Types in the Serializer

DevFeed: [New in Symfony 8.2: Generics and Stricter Types in the Serializer](<https://devfeed.tech/articles/new-in-symfony-8-2-generics-and-stricter-types-in-the-serializer-102321.md>)

Original publisher: [Read original article](<https://symfony.com/blog/new-in-symfony-8-2-generics-and-stricter-types-in-the-serializer>)

Author: Javier Eguiluz

Published: 2026-10-27T08:12:00Z

Content type: release

Language: en

Sources: [Symfony](<https://devfeed.tech/sources/symfony-blog.md>)

Topics: [Symfony](<https://devfeed.tech/topics/symfony.md>), [union types](<https://devfeed.tech/topics/union-types.md>), [Type Parameter](<https://devfeed.tech/topics/type-parameter.md>), [Programming Language Type Systems](<https://devfeed.tech/topics/programming-language-type-systems.md>), [Data validation](<https://devfeed.tech/topics/data-validation.md>), [typesafety](<https://devfeed.tech/topics/typesafety.md>)

Tags: [arrays](<https://devfeed.tech/tags/arrays.md>), [collections](<https://devfeed.tech/tags/collections.md>), [generics](<https://devfeed.tech/tags/generics.md>), [json](<https://devfeed.tech/tags/json.md>), [phpdoc](<https://devfeed.tech/tags/phpdoc.md>), [symfony](<https://devfeed.tech/tags/symfony.md>), [types](<https://devfeed.tech/tags/types.md>), [union-types](<https://devfeed.tech/tags/union-types.md>)

### AI overview

Symfony 8.2 improves Serializer denormalization by resolving PHPDoc generic types from the property that holds a generic object, so nested values such as `Page<Product>` items become `Product` instances. This requires PropertyInfo's `PhpStanExtractor` and `phpstan/phpdoc-parser`; the target class name alone does not supply template types. It also denormalizes union-typed collection elements and throws when an element matches no union member or a key violates its key type. A JSON object supplied for `list<string>` still works in 8.2 but triggers a deprecation and will throw `NotNormalizableValueException` in 9.0; use a JSON array for a list, or an array type that permits meaningful keys. TypeInfo adds covariant-template support, `Type::map()` for replacing nested types, and `Type::getMismatches()` for paths and expected/actual types. Because mismatch reporting does more work, call it after `accepts()` returns false.

### Source excerpt

The Serializer component relies on the TypeInfo component to know the type of each property it denormalizes. Symfony 8.2 makes both components understand more of the types you already write in your PHPDoc, such as generics and arrays of union types, and makes...