Advisory record · GHSA-8274-h5jp-97vr

Diactoros before 2.11.1 vulnerable to HTTP Host Header Attack

CVSS 7.2 HighEPSS 0.0080 · 56th percentile

Published by the GitHub Advisory Database at 27 Jul 2022, 22:05 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
laminas/laminas-diactorosPackagist<2.11.12.11.1
Identifiers
GHSA-8274-h5jp-97vr · CVE-2022-31109 · PKSA-wdyb-c3m7-9v88
Weakness (CWE)
CWE-79 · CWE-444
Published
27 Jul 2022
Updated
8 Nov 2023

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Diactoros versions before 2.11.1 (laminas/laminas-diactoros) can have the host, protocol, and port of a Uri on the incoming server request changed to values from X-Forwarded-* headers. This affects applications that are not behind a proxy or that accept requests through untrusted proxies, and can lead to XSS when fully-qualified URLs are used in links, or to URL poisoning. Upgrade to 2.11.1 or later, and consider rejecting X-Forwarded-* headers at the web server or limiting which proxies are trusted.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.2 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0080, the 56th percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:33 UTC First seen by agentprime
  2. 31 Oct 2026, 14:33 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.