MEDIUM6.1
GHSA-72x2-5c85-6wmr
Symfony potential Cross-site Scripting in WebhookController
Quick fix
GHSA-72x2-5c85-6wmr — symfony/webhook: upgrade to the fixed version with the command below.
composer require symfony/webhook:^6.3.8Details
### Description
The error message in WebhookController returns unescaped user-submitted input.
### Resolution
WebhookController now doesn't return any user-submitted input in its response.
The patch for this issue is available [here](https://github.com/symfony/symfony/commit/8128c302430394f639e818a7103b3f6815d8d962) for branch 6.3.
### Credits
We would like to thank Maxime Aknin for reporting the issue and to Nicolas Grekas for providing the fix.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/symfony/webhook
Introduced in:
6.3.0Fixed in: 6.3.8Fix
composer require symfony/webhook:^6.3.8Packagist/symfony/symfony
Introduced in:
6.3.0Fixed in: 6.3.8Fix
composer require symfony/symfony:^6.3.8References
- https://github.com/symfony/symfony/security/advisories/GHSA-72x2-5c85-6wmr[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2023-46735[ADVISORY]
- https://github.com/symfony/symfony/commit/8128c302430394f639e818a7103b3f6815d8d962[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2023-46735.yaml[WEB]
- https://github.com/symfony/symfony[PACKAGE]
- https://symfony.com/cve-2023-46735[WEB]