{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-14774","id":"CVE-2018-14774","title":"Symfony Host Header Injection","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.","descriptionLong":"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.","published":"2018-08-03T17:00:00.000Z","updated":"2026-10-24T10:50:31.699604514Z","reserved":"2018-07-31T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":7.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"3.0","score":7.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"high","source":"NVD"},{"version":"3.0","score":7.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"high","source":"OSV"},{"version":"3.0","score":7.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"symfony/symfony","purl":"pkg:composer/symfony/symfony","ranges":[">=2.7.0 <2.7.49",">=2.8.0 <2.8.44",">=3.3.0 <3.3.18",">=3.4.0 <3.4.14",">=4.0.0 <4.0.14",">=4.1.0 <4.1.3"],"fixed":["2.7.49","2.8.44","3.3.18","3.4.14","4.0.14","4.1.3"],"advisory":"GHSA-66p6-7p29-55p9"}],"cwes":["CWE-20"],"aliases":["GHSA-66p6-7p29-55p9"],"references":[{"url":"https://github.com/symfony/symfony/commit/725dee4cd8b4ccd52e335ae4b4522242cea9bd4a","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://symfony.com/blog/cve-2018-14774-possible-host-header-injection-when-using-httpcache","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-14774","tags":["advisory"]},{"url":"https://github.com/symfony/symfony/commit/7f912bbb78377c2ea331b3da28363435fbd91337","tags":["web"]},{"url":"https://github.com/symfony/symfony/commit/96504fb8c9f91204727d2930eb837473ce154956","tags":["web"]},{"url":"https://github.com/symfony/symfony/commit/974240e178bb01d734bf1df1ad5c3beba6a2f982","tags":["web"]},{"url":"https://github.com/symfony/symfony/commit/9cfcaba0bf71f87683510b5f47ebaac5f5d6a5ba","tags":["web"]},{"url":"https://github.com/symfony/symfony/commit/bcf5897bb1a99d4acae8bf7b73e81bfdeaac0922","tags":["web"]},{"url":"https://github.com/symfony/symfony","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01115,"epssPercentile":0.66694,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-14774","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-14774","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-14774","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-66p6-7p29-55p9","ok":true,"note":"GHSA-66p6-7p29-55p9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-14774","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}