{"items":[{"id":"NVI-00006245","kind":"vulnerability","title":"mezzio-swoole Applications Using Diactoros Vulnerable to HTTP Host Header Attack","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-c8rp-cgf4-937w"],"plain_summary":"OSV carries this publisher advisory for mezzio/mezzio-swoole, mezzio/mezzio-swoole. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 3.7.0 for mezzio/mezzio-swoole. Confirm the publisher’s latest guidance.","source_ids":["sr-ad3317071e06c7ee67b86daa6aac5728"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 4.3.0 for mezzio/mezzio-swoole. Confirm the publisher’s latest guidance.","source_ids":["sr-ad3317071e06c7ee67b86daa6aac5728"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-ad3317071e06c7ee67b86daa6aac5728","url":"https://github.com/advisories/GHSA-c8rp-cgf4-937w","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-c8rp-cgf4-937w","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.697Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-ad3317071e06c7ee67b86daa6aac5728"],"technology":"mezzio/mezzio-swoole","known_exclusions":[],"conditions_summary":"### Impact\n\nmezzio-swoole applications using Diactoros for their PSR-7 implementation, and which are either not behind a proxy, or can be accessed via untrusted proxies, can potentially have the host, protocol, and/or port of a `Laminas\\Diactoros\\Uri` instance associated with the incoming server request modified to reflect values from `X-Forwarded-*` headers. Such changes can potentially lead to XSS attacks (if a fully-qualified URL is used in links) and/or URL poisoning.\n\n### Patches\n\n3.7.0, and 4.3.0 and later.\n\nThe patches present in these versions update the `SwooleServerRequestFactory` to filter out `X-Forwarded-*` headers when creating the initial request. They then by default pass that instance through a `Laminas\\Diactoros\\ServerRequestFilter\\FilterUsingXForwardedHeaders` instance created from the `trustReservedSubnet()` constructor, ensuring that the request only honors the `X-Forwarded-*` headers for private reserved subnets.\n\nUsers can define the `Laminas\\Diactoros\\ServerRequestFilter\\FilterServerRequestInterface` service if they wish to provide a different implementation, or configure the `FilterUsingXForwardedHeaders` instance differently. When defined, that instance wi","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 3.7.0"]},{"certainty":"source_listed","source_ids":["sr-ad3317071e06c7ee67b86daa6aac5728"],"technology":"mezzio/mezzio-swoole","known_exclusions":[],"conditions_summary":"### Impact\n\nmezzio-swoole applications using Diactoros for their PSR-7 implementation, and which are either not behind a proxy, or can be accessed via untrusted proxies, can potentially have the host, protocol, and/or port of a `Laminas\\Diactoros\\Uri` instance associated with the incoming server request modified to reflect values from `X-Forwarded-*` headers. Such changes can potentially lead to XSS attacks (if a fully-qualified URL is used in links) and/or URL poisoning.\n\n### Patches\n\n3.7.0, and 4.3.0 and later.\n\nThe patches present in these versions update the `SwooleServerRequestFactory` to filter out `X-Forwarded-*` headers when creating the initial request. They then by default pass that instance through a `Laminas\\Diactoros\\ServerRequestFilter\\FilterUsingXForwardedHeaders` instance created from the `trustReservedSubnet()` constructor, ensuring that the request only honors the `X-Forwarded-*` headers for private reserved subnets.\n\nUsers can define the `Laminas\\Diactoros\\ServerRequestFilter\\FilterServerRequestInterface` service if they wish to provide a different implementation, or configure the `FilterUsingXForwardedHeaders` instance differently. When defined, that instance wi","public_affected_ranges":["ECOSYSTEM: introduced 4.0.0; fixed 4.3.0"]}],"null_published_at":"2026-10-31T22:13:05.877Z","source_updated_at":"2024-11-28T05:41:33.267Z","source_disclosed_at":"2022-07-29T22:26:10.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:42:10.697Z"}],"next_cursor":null,"snapshot_revision":"42594"}