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

- Severity: Medium 5.3 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2023-07-17T10:00:43.245Z
- Modified: 2026-06-17T06:02:46.287Z
- Also known as: GHSA-7m5c-fgwf-mwph
- Weaknesses: CWE-116, CWE-644
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: vmware

## Description

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.

(As written by CVE List.)

## Affected

- Spring Spring HATEOAS: 1.5.4 or older; 2.0.4 or older; 2.1.0
- org.springframework.hateoas:spring-hateoas (Maven): before 1.5.5; from 2.0.0 before 2.0.5; from 2.1.0 before 2.1.1
- vmware spring_hateoas: before 1.5.5; from 2.0.0 before 2.0.5; 2.1.0

## Every score

- vmware: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://spring.io/security/cve-2023-34036> (mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-34036> (advisory)
- <https://github.com/spring-projects/spring-hateoas> (package)

## Sources

- CVE List: [CVE-2023-34036](https://www.cve.org/CVERecord?id=CVE-2023-34036), CVE Terms of Use, modified 2024-10-30
- GitHub Advisory Database: [GHSA-7m5c-fgwf-mwph](https://github.com/advisories/GHSA-7m5c-fgwf-mwph), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2023-34036](https://nvd.nist.gov/vuln/detail/CVE-2023-34036), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-34036 · Whole record: https://cve.day/CVE-2023-34036.json · Rebuilt by cve.day 2026-11-25T22:58:25.830Z
