MediumGHSA-g996-q5r8-w7g2CVE-2019-10909
Symfony Cross-site Scripting (XSS) vulnerability
Published 12 Nov 2019 · Updated 16 Feb 2024
Affected packages
symfony/symfonyComposer
- Affected
- >=2.7.0 <2.7.51
- Fixed in
- 2.7.51
Update to the fixed version for your release line, for example:
composer require symfony/symfony:^2.7.51symfony/symfonyComposer
- Affected
- >=2.8.0 <2.8.50
- Fixed in
- 2.8.50
Update to the fixed version for your release line, for example:
composer require symfony/symfony:^2.8.50symfony/symfonyComposer
- Affected
- >=3.0.0 <3.4.26
- Fixed in
- 3.4.26
Update to the fixed version for your release line, for example:
composer require symfony/symfony:^3.4.26symfony/symfonyComposer
- Affected
- >=4.0.0 <4.1.12
- Fixed in
- 4.1.12
Update to the fixed version for your release line, for example:
composer require symfony/symfony:^4.1.12symfony/symfonyComposer
- Affected
- >=4.2.0 <4.2.7
- Fixed in
- 4.2.7
Update to the fixed version for your release line, for example:
composer require symfony/symfony:^4.2.7symfony/framework-bundleComposer
- Affected
- >=2.7.0 <2.7.51
- Fixed in
- 2.7.51
Update to the fixed version for your release line, for example:
composer require symfony/framework-bundle:^2.7.51symfony/framework-bundleComposer
- Affected
- >=2.8.0 <2.8.50
- Fixed in
- 2.8.50
Update to the fixed version for your release line, for example:
composer require symfony/framework-bundle:^2.8.50symfony/framework-bundleComposer
- Affected
- >=3.0.0 <3.4.26
- Fixed in
- 3.4.26
Update to the fixed version for your release line, for example:
composer require symfony/framework-bundle:^3.4.26symfony/framework-bundleComposer
- Affected
- >=4.0.0 <4.1.12
- Fixed in
- 4.1.12
Update to the fixed version for your release line, for example:
composer require symfony/framework-bundle:^4.1.12symfony/framework-bundleComposer
- Affected
- >=4.2.0 <4.2.7
- Fixed in
- 4.2.7
Update to the fixed version for your release line, for example:
composer require symfony/framework-bundle:^4.2.7drupal/coreComposer
- Affected
- >=8.0.0 <8.5.15
- Fixed in
- 8.5.15
Update to the fixed version for your release line, for example:
composer require drupal/core:^8.5.15drupal/coreComposer
- Affected
- >=8.6.0 <8.6.15
- Fixed in
- 8.6.15
Update to the fixed version for your release line, for example:
composer require drupal/core:^8.6.15drupal/drupalComposer
- Affected
- >=8.0.0 <8.5.15
- Fixed in
- 8.5.15
Update to the fixed version for your release line, for example:
composer require drupal/drupal:^8.5.15drupal/drupalComposer
- Affected
- >=8.6.0 <8.6.15
- Fixed in
- 8.6.15
Update to the fixed version for your release line, for example:
composer require drupal/drupal:^8.6.15Details
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.
Is GHSA-g996-q5r8-w7g2 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected symfony/symfony, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2019-10909
- Linkgithub.com/symfony/symfony/commit/ab4d05358c3d0dd1a36fc8c306829f68e3dd84e2
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2019-10909.yaml
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2019-10909.yaml
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/symfony/framework-bundle/CVE-2019-10909.yaml
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2019-10909.yaml
- Linksymfony.com/blog/cve-2019-10909-escape-validation-messages-in-the-php-templating-engine
- Linksymfony.com/cve-2019-10909
- Linkwww.drupal.org/sa-core-2019-005
- Linkwww.synology.com/security/advisory/Synology_SA_19_19
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.