{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-5255","id":"CVE-2020-5255","title":"Prevent cache poisoning via a Response Content-Type header","description":"In Symfony before versions 4.4.7 and 5.0.7, when a `Response` does not contain a `Content-Type` header, affected versions of Symfony can fallback to the format defined in the `Accept` header of the request, leading to a possible mismatch between the response&#39;s content and `Content-Type` header. When the response is cached, this can prevent the use of the website by other users. This has been p","descriptionLong":"In Symfony before versions 4.4.7 and 5.0.7, when a `Response` does not contain a `Content-Type` header, affected versions of Symfony can fallback to the format defined in the `Accept` header of the request, leading to a possible mismatch between the response&#39;s content and `Content-Type` header. When the response is cached, this can prevent the use of the website by other users. This has been patched in versions 4.4.7 and 5.0.7.","published":"2020-03-30T19:30:15.000Z","updated":"2026-10-24T10:50:39.317914392Z","reserved":"2020-01-02T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":2.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":2.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L","rating":"low","source":"GitHub_M"},{"version":"3.1","score":2.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L","rating":"low","source":"github.com"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"NVD"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":2.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L","rating":"low","source":"GitHub"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P","rating":"medium","source":"NVD"}],"rating":"low","products":["symfony"],"affectedProducts":[{"vendor":"symfony","product":"symfony","defaultStatus":null,"versions":[{"status":"affected","version":">= 4.4.0 and < 4.4.7"},{"status":"affected","version":">= 5.0.0 and < 5.0.7"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"symfony/http-foundation","purl":"pkg:composer/symfony/http-foundation","ranges":[">=4.4.0 <4.4.7",">=5.0.0 <5.0.7"],"fixed":["4.4.7","5.0.7"],"advisory":"GHSA-mcx4-f5f5-4859"},{"ecosystem":"Packagist","name":"symfony/symfony","purl":"pkg:composer/symfony/symfony","ranges":[">=4.4.0 <4.4.7",">=5.0.0 <5.0.7"],"fixed":["4.4.7","5.0.7"],"advisory":"GHSA-mcx4-f5f5-4859"}],"cwes":["CWE-435","CWE-20"],"aliases":["BIT-symfony-2020-5255","GHSA-mcx4-f5f5-4859"],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-mcx4-f5f5-4859","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/symfony/symfony/commit/dca343442e6a954f96a2609e7b4e9c21ed6d74e6","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://symfony.com/blog/cve-2020-5255-prevent-cache-poisoning-via-a-response-content-type-header","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C36JLPHUPKDFAX6D5WYFC4ALO2K7RDUQ/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5255","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2020-5255.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2020-5255.yaml","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/C36JLPHUPKDFAX6D5WYFC4ALO2K7RDUQ","tags":["web"]},{"url":"https://symfony.com/cve-2020-5255","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01297,"epssPercentile":0.7097,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-5255","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5255","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-5255","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mcx4-f5f5-4859","ok":true,"note":"GHSA-mcx4-f5f5-4859"},{"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-2020-5255","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}