Search for packages
Package details: pkg:composer/symfony/symfony@4.1.12
purl pkg:composer/symfony/symfony@4.1.12
Next non-vulnerable version 5.4.46
Latest non-vulnerable version 7.2.0-BETA1
Risk
Vulnerabilities affecting this package (17)
Vulnerability Summary Fixed by
VCID-2mrq-kxn3-tyc9
Aliases:
CVE-2019-10909
GHSA-g996-q5r8-w7g2
Symfony Cross-site Scripting (XSS) vulnerability In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, validation messages are not escaped, which can lead to XSS when user input is included. This is related to symfony/framework-bundle.
4.2.7
Affected by 14 other vulnerabilities.
VCID-3p45-9gge-y3d9
Aliases:
CVE-2022-24895
GHSA-3gv2-29qc-v67m
Symfony vulnerable to Session Fixation of CSRF tokens Description ----------- When authenticating users Symfony by default regenerates the session ID upon login, but preserves the rest of session attributes. Because this does not clear CSRF tokens upon login, this might enables [same-site attackers](https://canitakeyoursubdomain.name/) to bypass the CSRF protection mechanism by performing an attack similar to a session-fixation. Resolution ---------- Symfony removes all CSRF tokens from the session on successful login. The patch for this issue is available [here](https://github.com/symfony/symfony/commit/5909d74ecee359ea4982fcf4331aaf2e489a1fd4) for branch 4.4. Credits ------- We would like to thank Marco Squarcina for reporting the issue and Nicolas Grekas for fixing it.
4.4.50
Affected by 5 other vulnerabilities.
5.0.0-BETA1
Affected by 5 other vulnerabilities.
5.4.20
Affected by 6 other vulnerabilities.
6.0.0-BETA1
Affected by 0 other vulnerabilities.
6.0.20
Affected by 6 other vulnerabilities.
6.1.0-BETA1
Affected by 6 other vulnerabilities.
6.1.12
Affected by 6 other vulnerabilities.
6.2.0-BETA1
Affected by 6 other vulnerabilities.
6.2.6
Affected by 7 other vulnerabilities.
VCID-64bd-n2s2-9qcj
Aliases:
CVE-2022-24894
GHSA-h7vf-5wrv-9fhv
Symfony storing cookie headers in HttpCache Description ----------- The Symfony HTTP cache system acts as a reverse proxy: it caches HTTP responses (including headers) and returns them to clients. In a recent `AbstractSessionListener` change, the response might now contain a `Set-Cookie` header. If the Symfony HTTP cache system is enabled, this header might be stored and returned to some other clients. An attacker can use this vulnerability to retrieve the victim's session. Resolution ---------- The `HttpStore` constructor now takes a parameter containing a list of private headers that are removed from the HTTP response headers. The default value for this parameter is `Set-Cookie`, but it can be overridden or extended by the application. The patch for this issue is available [here](https://github.com/symfony/symfony/commit/d2f6322af9444ac5cd1ef3ac6f280dbef7f9d1fb) for branch 4.4. Credits ------- We would like to thank Soner Sayakci for reporting the issue and Nicolas Grekas for fixing it.
4.4.50
Affected by 5 other vulnerabilities.
5.0.0-BETA1
Affected by 5 other vulnerabilities.
5.4.20
Affected by 6 other vulnerabilities.
6.0.0-BETA1
Affected by 0 other vulnerabilities.
6.0.20
Affected by 6 other vulnerabilities.
6.1.0-BETA1
Affected by 6 other vulnerabilities.
6.1.12
Affected by 6 other vulnerabilities.
6.2.0-BETA1
Affected by 6 other vulnerabilities.
6.2.6
Affected by 7 other vulnerabilities.
VCID-718a-9ndd-syex
Aliases:
CVE-2019-18888
GHSA-xhh6-956q-4q69
Argument injection in a MimeTypeGuesser in Symfony An issue was discovered in Symfony 2.8.0 through 2.8.50, 3.4.0 through 3.4.34, 4.2.0 through 4.2.11, and 4.3.0 through 4.3.7. If an application passes unvalidated user input as the file for which MIME type validation should occur, then arbitrary arguments are passed to the underlying file command. This is related to symfony/http-foundation (and symfony/mime in 4.3.x).
4.2.12
Affected by 10 other vulnerabilities.
4.3.8
Affected by 10 other vulnerabilities.
VCID-7gzy-b9hc-zuh2
Aliases:
CVE-2021-21424
GHSA-5pv8-ppvj-4h68
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. The ability to enumerate users was possible without relevant permissions due to different handling depending on whether the user existed or not when attempting to use the switch users functionality. We now ensure that 403s are returned whether the user exists or not if a user cannot switch to a user or if the user does not exist. The patch for this issue is available for branch 3.4.
4.4.23
Affected by 9 other vulnerabilities.
4.4.24
Affected by 9 other vulnerabilities.
5.2.8
Affected by 10 other vulnerabilities.
5.2.9
Affected by 10 other vulnerabilities.
VCID-9x61-7xns-b7h1
Aliases:
CVE-2019-10911
GHSA-cchx-mfrc-fwqr
Improper authentication in Symfony In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, a vulnerability would allow an attacker to authenticate as a privileged user on sites with user registration and remember me login functionality enabled. This is related to symfony/security.
4.2.7
Affected by 14 other vulnerabilities.
VCID-atjd-s983-zkaz
Aliases:
CVE-2024-51736
GHSA-qq5c-677p-737q
Symfony vulnerable to command execution hijack on Windows with Process class ### Description On Windows, when an executable file named `cmd.exe` is located in the current working directory it will be called by the `Process` class when preparing command arguments, leading to possible hijacking. ### Resolution The `Process` class now uses the absolute path to `cmd.exe`. The patch for this issue is available [here](https://github.com/symfony/symfony/commit/18ecd03eda3917fdf901a48e72518f911c64a1c9) for branch 5.4. ### Credits We would like to thank Jordi Boggiano for reporting the issue and Nicolas Grekas for providing the fix.
5.4.46
Affected by 0 other vulnerabilities.
6.0.0-BETA1
Affected by 0 other vulnerabilities.
6.4.14
Affected by 0 other vulnerabilities.
7.0.0-BETA1
Affected by 0 other vulnerabilities.
7.1.7
Affected by 0 other vulnerabilities.
7.2.0-BETA1
Affected by 0 other vulnerabilities.
VCID-bf8y-eqha-q3cy
Aliases:
CVE-2024-50345
GHSA-mrqx-rp3w-jpjp
Symfony vulnerable to open redirect via browser-sanitized URLs ### Description The `Request` class, does not parse URI with special characters the same way browsers do. As a result, an attacker can trick a validator relying on the `Request` class to redirect users to another domain. ### Resolution The `Request::create` methods now assert the URI does not contain invalid characters as defined by https://url.spec.whatwg.org/ The patch for this issue is available [here](https://github.com/symfony/symfony/commit/5a9b08e5740af795854b1b639b7d45b9cbfe8819) for branch 5.4. ### Credits We would like to thank Sam Mush - IPASSLab && ZGC Lab for reporting the issue and Nicolas Grekas for providing the fix.
5.4.46
Affected by 0 other vulnerabilities.
6.0.0-BETA1
Affected by 0 other vulnerabilities.
6.4.14
Affected by 0 other vulnerabilities.
7.0.0-BETA1
Affected by 0 other vulnerabilities.
7.1.7
Affected by 0 other vulnerabilities.
7.2.0-BETA1
Affected by 0 other vulnerabilities.
VCID-bnwq-cmt5-7qcr
Aliases:
CVE-2019-10913
GHSA-x92h-wmg2-6hp7
Invalid HTTP method overrides allow possible XSS or other attacks in Symfony In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, HTTP Methods provided as verbs or using the override header may be treated as trusted input, but they are not validated, possibly causing SQL injection or XSS. This is related to symfony/http-foundation.
4.2.7
Affected by 14 other vulnerabilities.
VCID-cejg-3hqv-kbfd
Aliases:
CVE-2019-18886
GHSA-4vpc-5jx4-cfqg
User enumeration leak using switch user functionality in Symfony An issue was discovered in Symfony 4.2.0 to 4.2.11 and 4.3.0 to 4.3.7. The ability to enumerate users was possible due to different handling depending on whether the user existed when making unauthorized attempts to use the switch users functionality. This is related to symfony/security.
4.2.12
Affected by 10 other vulnerabilities.
4.3.8
Affected by 10 other vulnerabilities.
VCID-fhmx-pjm9-zqdd
Aliases:
CVE-2024-50343
GHSA-g3rh-rrhp-jhh9
Symfony has an incorrect response from Validator when input ends with `\n` ### Description It is possible to trick a `Validator` configured with a regular expression using the `$` metacharacters, with an input ending with `\n`. ### Resolution Symfony now uses the `D` regex modifier to match the entire input. The patch for this issue is available [here](https://github.com/symfony/symfony/commit/7d1032bbead9a4229b32fa6ebca32681c80cb76f) for branch 5.4. ### Credits We would like to thank Offscript for reporting the issue and Alexandre Daubois for providing the fix.
5.4.43
Affected by 4 other vulnerabilities.
6.4.11
Affected by 4 other vulnerabilities.
7.1.4
Affected by 4 other vulnerabilities.
VCID-g1yv-sk44-n3fu
Aliases:
CVE-2019-10912
GHSA-w2fr-65vp-mxw3
Deserialization of untrusted data in Symfony In Symfony before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, it is possible to cache objects that may contain bad user input. On serialization or unserialization, this could result in the deletion of files that the current user has access to. This is related to symfony/cache and symfony/phpunit-bridge.
4.2.7
Affected by 14 other vulnerabilities.
VCID-mcd3-rb4z-uyfm
Aliases:
CVE-2021-41270
GHSA-2xhg-w2g5-w95x
Symfony/Serializer handles serializing and deserializing data structures for Symfony, a PHP framework for web and console applications and a set of reusable PHP components. Symfony versions 4.1.0 before 4.4.35 and versions 5.0.0 before 5.3.12 are vulnerable to CSV injection, also known as formula injection. In Symfony 4.1, maintainers added the opt-in `csv_escape_formulas` option in the `CsvEncoder`, to prefix all cells starting with `=`, `+`, `-` or `@` with a tab `\t`. Since then, OWASP added 2 chars in that list: Tab (0x09) and Carriage return (0x0D). This makes the previous prefix char (Tab `\t`) part of the vulnerable characters, and OWASP suggests using the single quote `'` for prefixing the value. Starting with versions 4.4.34 and 5.3.12, Symfony now follows the OWASP recommendations and uses the single quote `'` to prefix formulas and add the prefix to cells starting by `\t`, `\r` as well as `=`, `+`, `-` and `@`.
4.4.35
Affected by 8 other vulnerabilities.
5.0.0-BETA1
Affected by 5 other vulnerabilities.
5.3.12
Affected by 9 other vulnerabilities.
5.4.0-BETA1
Affected by 8 other vulnerabilities.
VCID-qr3v-jkjd-qfb1
Aliases:
CVE-2019-18889
GHSA-79gr-58r3-pwm3
Symfony Unsafe Cache Serialization Could Enable RCE An issue was discovered in Symfony 3.4.0 through 3.4.34, 4.2.0 through 4.2.11, and 4.3.0 through 4.3.7. Serializing certain cache adapter interfaces could result in remote code injection. This is related to symfony/cache.
4.2.12
Affected by 10 other vulnerabilities.
4.3.8
Affected by 10 other vulnerabilities.
VCID-s3ep-tgah-aud1
Aliases:
CVE-2019-18887
GHSA-q8hg-pf8v-cxrv
Symfony Http-Kernel has non-constant time comparison in UriSigner When checking the signature of an URI (an ESI fragment URL for instance), the URISigner did not used a constant time string comparison function, resulting in a potential remote timing attack vulnerability.
4.2.12
Affected by 10 other vulnerabilities.
4.3.8
Affected by 10 other vulnerabilities.
VCID-tgmn-cwth-ukcu
Aliases:
CVE-2022-23601
GHSA-vvmr-8829-6whx
CSRF token missing in Symfony Description ----------- The Symfony form component provides a CSRF protection mechanism by using a random token injected in the form and using the session to store and control the token submitted by the user. When using the FrameworkBundle, this protection can be enabled or disabled with the configuration. If the configuration is not specified, by default, the mechanism is enabled as long as the session is enabled. In a recent change in the way the configuration is loaded, the default behavior has been dropped and, as a result, the CSRF protection is not enabled in form when not explicitly enabled, which makes the application sensible to CSRF attacks. Resolution ---------- Symfony restored the default configuration to enable the CSRF protection by default. The patch for this issue is available [here](https://github.com/symfony/symfony/commit/f0ffb775febdf07e57117aabadac96fa37857f50) for branch 5.3. Credits ------- We would like to thank Catalin Dan and David Lochner for reporting the issue and Jérémy Derussé for fixing the issue.
5.3.15
Affected by 8 other vulnerabilities.
5.4.4
Affected by 8 other vulnerabilities.
6.0.4
Affected by 8 other vulnerabilities.
VCID-xv9e-a7qq-63a1
Aliases:
CVE-2023-46734
GHSA-q847-2q57-wmr3
Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters ### Description Some Twig filters in CodeExtension use "is_safe=html" but don't actually ensure their input is safe. ### Resolution Symfony now escapes the output of the affected filters. The patch for this issue is available [here](https://github.com/symfony/symfony/commit/9da9a145ce57e4585031ad4bee37c497353eec7c) for branch 4.4. ### Credits We would like to thank Pierre Rudloff for reporting the issue and to Nicolas Grekas for providing the fix.
4.4.51
Affected by 4 other vulnerabilities.
5.0.0-BETA1
Affected by 5 other vulnerabilities.
5.4.31
Affected by 5 other vulnerabilities.
6.0.0-BETA1
Affected by 0 other vulnerabilities.
6.3.8
Affected by 6 other vulnerabilities.
6.4.0-BETA1
Affected by 6 other vulnerabilities.
Vulnerabilities fixed by this package (5)
Vulnerability Summary Aliases
VCID-2mrq-kxn3-tyc9 Symfony Cross-site Scripting (XSS) vulnerability In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, validation messages are not escaped, which can lead to XSS when user input is included. This is related to symfony/framework-bundle. CVE-2019-10909
GHSA-g996-q5r8-w7g2
VCID-3afm-66r3-c3by Symfony Service IDs Allow Injection In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, when service ids allow user input, this could allow for SQL Injection and remote code execution. This is related to symfony/dependency-injection. CVE-2019-10910
GHSA-pgwj-prpq-jpc2
VCID-9x61-7xns-b7h1 Improper authentication in Symfony In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, a vulnerability would allow an attacker to authenticate as a privileged user on sites with user registration and remember me login functionality enabled. This is related to symfony/security. CVE-2019-10911
GHSA-cchx-mfrc-fwqr
VCID-bnwq-cmt5-7qcr Invalid HTTP method overrides allow possible XSS or other attacks in Symfony In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, HTTP Methods provided as verbs or using the override header may be treated as trusted input, but they are not validated, possibly causing SQL injection or XSS. This is related to symfony/http-foundation. CVE-2019-10913
GHSA-x92h-wmg2-6hp7
VCID-g1yv-sk44-n3fu Deserialization of untrusted data in Symfony In Symfony before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, it is possible to cache objects that may contain bad user input. On serialization or unserialization, this could result in the deletion of files that the current user has access to. This is related to symfony/cache and symfony/phpunit-bridge. CVE-2019-10912
GHSA-w2fr-65vp-mxw3

Date Actor Action Vulnerability Source VulnerableCode Version
2025-07-03T19:15:01.207095+00:00 GitLab Importer Affected by VCID-fhmx-pjm9-zqdd https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-50343.yml 37.0.0
2025-07-03T19:14:55.368903+00:00 GitLab Importer Affected by VCID-bf8y-eqha-q3cy https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-50345.yml 37.0.0
2025-07-03T19:14:44.480973+00:00 GitLab Importer Affected by VCID-atjd-s983-zkaz https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-51736.yml 37.0.0
2025-07-03T18:53:00.934826+00:00 GitLab Importer Affected by VCID-xv9e-a7qq-63a1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2023-46734.yml 37.0.0
2025-07-03T18:38:22.929649+00:00 GitLab Importer Affected by VCID-64bd-n2s2-9qcj https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2022-24894.yml 37.0.0
2025-07-03T18:38:18.346208+00:00 GitLab Importer Affected by VCID-3p45-9gge-y3d9 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2022-24895.yml 37.0.0
2025-07-03T18:09:55.282909+00:00 GitLab Importer Affected by VCID-tgmn-cwth-ukcu https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2022-23601.yml 37.0.0
2025-07-03T18:07:16.707262+00:00 GitLab Importer Affected by VCID-mcd3-rb4z-uyfm https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2021-41270.yml 37.0.0
2025-07-03T17:59:23.979791+00:00 GitLab Importer Affected by VCID-7gzy-b9hc-zuh2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2021-21424.yml 37.0.0
2025-07-03T17:37:34.958525+00:00 GitLab Importer Affected by VCID-qr3v-jkjd-qfb1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2019-18889.yml 37.0.0
2025-07-03T17:37:33.939479+00:00 GitLab Importer Affected by VCID-s3ep-tgah-aud1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2019-18887.yml 37.0.0
2025-07-03T17:37:29.834457+00:00 GitLab Importer Affected by VCID-718a-9ndd-syex https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2019-18888.yml 37.0.0
2025-07-03T17:37:28.420336+00:00 GitLab Importer Affected by VCID-cejg-3hqv-kbfd https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2019-18886.yml 37.0.0
2025-07-03T17:37:22.470803+00:00 GitLab Importer Fixing VCID-3afm-66r3-c3by https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2019-10910.yml 37.0.0
2025-07-03T17:34:13.882728+00:00 GitLab Importer Affected by VCID-bnwq-cmt5-7qcr https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2019-10913.yml 37.0.0
2025-07-03T17:34:12.429258+00:00 GitLab Importer Affected by VCID-g1yv-sk44-n3fu https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2019-10912.yml 37.0.0
2025-07-03T17:34:11.230610+00:00 GitLab Importer Affected by VCID-2mrq-kxn3-tyc9 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2019-10909.yml 37.0.0
2025-07-03T17:34:09.150859+00:00 GitLab Importer Affected by VCID-9x61-7xns-b7h1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2019-10911.yml 37.0.0
2025-07-03T13:54:53.147820+00:00 GitLab Importer Fixing VCID-3afm-66r3-c3by https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2019-10910.yml 36.1.3
2025-07-01T14:30:04.392640+00:00 GHSA Importer Fixing VCID-9x61-7xns-b7h1 https://github.com/advisories/GHSA-cchx-mfrc-fwqr 36.1.3
2025-07-01T14:30:04.263648+00:00 GHSA Importer Fixing VCID-g1yv-sk44-n3fu https://github.com/advisories/GHSA-w2fr-65vp-mxw3 36.1.3
2025-07-01T14:29:59.179501+00:00 GHSA Importer Fixing VCID-bnwq-cmt5-7qcr https://github.com/advisories/GHSA-x92h-wmg2-6hp7 36.1.3
2025-07-01T14:29:58.075367+00:00 GHSA Importer Fixing VCID-3afm-66r3-c3by https://github.com/advisories/GHSA-pgwj-prpq-jpc2 36.1.3
2025-07-01T14:29:56.922931+00:00 GHSA Importer Fixing VCID-2mrq-kxn3-tyc9 https://github.com/advisories/GHSA-g996-q5r8-w7g2 36.1.3
2025-07-01T12:22:11.872820+00:00 GithubOSV Importer Fixing VCID-3afm-66r3-c3by https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/11/GHSA-pgwj-prpq-jpc2/GHSA-pgwj-prpq-jpc2.json 36.1.3
2025-07-01T12:22:10.945511+00:00 GithubOSV Importer Fixing VCID-2mrq-kxn3-tyc9 https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/11/GHSA-g996-q5r8-w7g2/GHSA-g996-q5r8-w7g2.json 36.1.3
2025-07-01T12:21:56.501349+00:00 GithubOSV Importer Fixing VCID-bnwq-cmt5-7qcr https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/12/GHSA-x92h-wmg2-6hp7/GHSA-x92h-wmg2-6hp7.json 36.1.3
2025-07-01T12:17:02.113364+00:00 GithubOSV Importer Fixing VCID-g1yv-sk44-n3fu https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/02/GHSA-w2fr-65vp-mxw3/GHSA-w2fr-65vp-mxw3.json 36.1.3
2025-07-01T12:17:00.716061+00:00 GithubOSV Importer Fixing VCID-9x61-7xns-b7h1 https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/02/GHSA-cchx-mfrc-fwqr/GHSA-cchx-mfrc-fwqr.json 36.1.3