{"id":"CVE-2017-16653","aliases":["GHSA-92x6-h2gr-8gxq"],"url":"https://o3.security/vulnerability/CVE-2017-16653","summary":"Symfony CSRF Vulnerability","details":"An issue was discovered in Symfony before 2.7.38, 2.8.31, 3.2.14, 3.3.13, 3.4-BETA5, and 4.0-BETA5. The current implementation of CSRF protection in Symfony (Version >=2) does not use different tokens for HTTP and HTTPS; therefore the token is subject to MITM attacks on HTTP and can then be used in an HTTPS context to do CSRF attacks.","published":"2018-08-06T21:29:00.283Z","modified":"2026-08-07T11:48:14.384145493Z","cvss":{"score":5.9,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"symfony/security-csrf","fixedVersion":"2.7.38"},{"ecosystem":"Packagist","name":"symfony/security-csrf","fixedVersion":"2.8.31"},{"ecosystem":"Packagist","name":"symfony/security-csrf","fixedVersion":"3.2.14"},{"ecosystem":"Packagist","name":"symfony/security-csrf","fixedVersion":"3.3.13"},{"ecosystem":"Packagist","name":"symfony/security","fixedVersion":"2.7.38"},{"ecosystem":"Packagist","name":"symfony/security","fixedVersion":"2.8.31"},{"ecosystem":"Packagist","name":"symfony/security","fixedVersion":"3.2.14"},{"ecosystem":"Packagist","name":"symfony/security","fixedVersion":"3.3.13"},{"ecosystem":"Packagist","name":"symfony/symfony","fixedVersion":"2.7.38"},{"ecosystem":"Packagist","name":"symfony/symfony","fixedVersion":"2.8.31"},{"ecosystem":"Packagist","name":"symfony/symfony","fixedVersion":"3.2.14"},{"ecosystem":"Packagist","name":"symfony/symfony","fixedVersion":"3.3.13"}],"fix":{"url":"https://github.com/symfony/symfony/pull/24992","label":"symfony/symfony#24992"},"references":[{"type":"ADVISORY","url":"https://www.debian.org/security/2018/dsa-4262"},{"type":"REPORT","url":"https://github.com/symfony/symfony/pull/24992"},{"type":"REPORT","url":"https://symfony.com/blog/cve-2017-16653-csrf-protection-does-not-use-different-tokens-for-http-and-https"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T11:48:14.384145493Z"}}