What’s Vulnerable › Vulnerabilities
CVE-2018-14774
- Severity: high (CVSS 7.2 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-08-03 · updated 2026-06-17
- Weakness: CWE-20
Description
An issue was discovered in HttpKernel in Symfony 2.7.0 through 2.7.48, 2.8.0 through 2.8.43, 3.3.0 through 3.3.17, 3.4.0 through 3.4.13, 4.0.0 through 4.0.13, and 4.1.0 through 4.1.2. When using HttpCache, the values of the X-Forwarded-Host headers are implicitly set as trusted while this should be forbidden, leading to potential host header injection.
Affected products
- symfony: from 2.7.0 through 2.7.48; from 2.8.0 through 2.8.43; from 3.3.0 through 3.3.17; from 3.4.0 through 3.4.13; from 4.0.0 through 4.0.13; from 4.1.0 through 4.1.2
References
- https://github.com/symfony/symfony/commit/725dee4cd8b4ccd52e335ae4b4522242cea9bd4a
- https://symfony.com/blog/cve-2018-14774-possible-host-header-injection-when-using-httpcache
- https://github.com/symfony/symfony/commit/725dee4cd8b4ccd52e335ae4b4522242cea9bd4a
- https://symfony.com/blog/cve-2018-14774-possible-host-header-injection-when-using-httpcache
Get alerted when CVE-2018-14774 or the next vulnerability affects your stack