# CVE-2023-34036: Forwarded header exploit with Spring HATEOAS on WebFlux

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-07-17 · Modified: 2024-10-30
- Aliases: GHSA-7m5c-fgwf-mwph
- Record: https://cvemate.com/vulnerability/CVE-2023-34036 · JSON: https://cvemate.com/vulnerability/CVE-2023-34036/json

## Description

```text
Reactive web applications that use Spring HATEOAS to produce hypermedia-based responses might be exposed to malicious forwarded headers if they are not behind a trusted proxy that ensures correctness of such headers, or if they don't have anything else in place to handle (and possibly discard) forwarded headers either in WebFlux or at the level of the underlying HTTP server.

For the application to be affected, it needs to satisfy the following requirements:

  *  It needs to use the reactive web stack (Spring WebFlux) and Spring HATEOAS to create links in hypermedia-based responses.
  *  The application infrastructure does not guard against clients submitting (X-)Forwarded… headers.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS: 0.475%, percentile 42.689%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- org.springframework.hateoas spring-hateoas (Maven): \< 1.5.5 \| ≥ 2.0.0, \< 2.0.5 \| ≥ 2.1.0, \< 2.1.1
- spring spring hateoas: 1.5.4 or older \| 2.0.4 or older \| 2.1.0
- vmware spring\_hateoas: \< 1.5.5 \| ≥ 2.0.0, \< 2.0.5 \| 2.1.0 \| 2.1.0:milestone1 \| 2.1.0:rc1

## References

- <https://spring.io/security/cve-2023-34036>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-34036>
- <https://github.com/spring-projects/spring-hateoas>

---

Data as of 2026-12-05T04:11:00.324Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
