# GHSA-6wqp-7g94-f69j: sensiolabs/connect has a Cross-Site Request Forgery Vulnerability

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-05-21T18:26:46.000Z
- Modified: 2024-12-06T05:37:32.441Z
- Weaknesses: CWE-352

## Description

Versions of sensiolabs/connect prior to 4.2.3 are affected by a Cross-Site Request Forgery (CSRF) vulnerability due to the absence of the state parameter in OAuth requests. The lack of proper state parameter handling exposes applications to CSRF attacks during the OAuth authentication flow.

(As written by GitHub Advisory Database.)

## Affected

- sensiolabs/connect (Packagist): before 4.2.3

## References

- <https://github.com/sensiolabs/connect/pull/63> (web)
- <https://github.com/symfonycorp/connect/commit/9522aa774e8a0f8a61e709d828e6cc34c4c1e703> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/sensiolabs/connect/2018-06-08-1.yaml> (web)
- <https://github.com/symfonycorp/connect> (package)

## Sources

- GitHub Advisory Database: [GHSA-6wqp-7g94-f69j](https://github.com/advisories/GHSA-6wqp-7g94-f69j), CC-BY-4.0, modified 2024-12-06

---

Page: https://cve.day/GHSA-6wqp-7g94-f69j · Whole record: https://cve.day/GHSA-6wqp-7g94-f69j.json · Rebuilt by cve.day 2026-11-25T22:56:31.384Z
