# GHSA-XM3X-4PH3-3X9C: friendsofsymfony/oauth2-php open redirection in oauth

- Database: GitHub
- Severity: medium (stated by ghsa, no CVSS score)
- Published: 2024-05-15
- Modified: 2024-11-29

## Affected versions

- friendsofsymfony/oauth2-php (Packagist): fixed in 1.3.0

## Description

An open redirection vulnerability has been identified in the friendsofsymfony/oauth2-php library, which could potentially expose users to unauthorized redirects during the OAuth authentication process. This vulnerability has been addressed by implementing an exact check for the domain and port, ensuring more secure redirection.

## References

- https://github.com/FriendsOfSymfony/oauth2-php/commit/606b8ea1c3c927c272ac1409116332ad5a2ed94c
- https://github.com/FriendsOfPHP/security-advisories/blob/master/friendsofsymfony/oauth2-php/2020-03-03-1.yaml
- https://github.com/FriendsOfSymfony/oauth2-php
- https://github.com/FriendsOfSymfony/oauth2-php/releases/tag/1.3.0

Page: https://cve.now/GHSA-XM3X-4PH3-3X9C

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
