Loading HuntDB...

GHSA-7m5c-fgwf-mwph

GitHub Security Advisory

Spring HATEOAS vulnerable to Improper Neutralization of HTTP Headers for Scripting Syntax

✓ GitHub Reviewed MODERATE Has CVE

Advisory Details

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.

Affected Packages

Maven org.springframework.hateoas:spring-hateoas
Affected versions: 0 (fixed in 1.5.5)
Maven org.springframework.hateoas:spring-hateoas
Affected versions: 2.0.0 (fixed in 2.0.5)
Maven org.springframework.hateoas:spring-hateoas
Affected versions: 2.1.0 (fixed in 2.1.1)

Related CVEs

Key Information

GHSA ID
GHSA-7m5c-fgwf-mwph
Published
July 17, 2023 12:30 PM
Last Modified
July 19, 2023 7:23 PM
CVSS Score
5.0 /10
Primary Ecosystem
Maven
Primary Package
org.springframework.hateoas:spring-hateoas
GitHub Reviewed
✓ Yes

Dataset

Last updated: September 20, 2025 6:29 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.