# GHSA-xm3x-4ph3-3x9c: friendsofsymfony/oauth2-php open redirection in oauth

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-05-15T21:39:29.000Z
- Modified: 2024-11-29T05:29:39.220Z

## 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.

(As written by GitHub Advisory Database.)

## Affected

- friendsofsymfony/oauth2-php (Packagist): before 1.3.0

## References

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

## Sources

- GitHub Advisory Database: [GHSA-xm3x-4ph3-3x9c](https://github.com/advisories/GHSA-xm3x-4ph3-3x9c), CC-BY-4.0, modified 2024-11-29

---

Page: https://cve.day/GHSA-xm3x-4ph3-3x9c · Whole record: https://cve.day/GHSA-xm3x-4ph3-3x9c.json · Rebuilt by cve.day 2026-11-25T22:56:33.398Z
