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.
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
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 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
- 31 Oct 2026, 14:33 UTC First seen by agentprime
- 31 Oct 2026, 14:33 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-8274-h5jp-97vr
- OSV: GHSA-8274-h5jp-97vr
- github.com/laminas/laminas-diactoros/security/advisories/GHSA-8274-h5jp-97vr
- nvd.nist.gov/vuln/detail/CVE-2022-31109
- github.com/laminas/laminas-diactoros/commit/25b11d422c2e5dad868f68619888763b30f91e2d
- github.com/FriendsOfPHP/security-advisories/blob/master/laminas/laminas-diactoros/CVE-2022-31109.yaml
- github.com/advisories/GHSA-8274-h5jp-97vr
- github.com/laminas/laminas-diactoros
- github.com/laminas/laminas-diactoros/releases/tag/2.11.1
- portswigger.net/web-security/host-header