{"id":"GHSA-8wx3-8m4x-g5h4","aliases":[],"status":"published","title":"FOSUserBundle User Identity Validation Vulnerability","description":"Versions of FOSUserBundle prior to 1.2.1 have been found to be vulnerable to a security issue related to user identity validation. Specifically, user refreshing was performed using the primary key instead of the username, leading to a potential security risk if a user is allowed to change their username. The fix in version 1.2.1 addresses this issue by loading the user using the primary key during refreshing.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-285"],"published":"2024-05-15T21:43:23Z","modified":"2026-07-16T18:45:48Z","fixes":[{"ecosystem":"Packagist","package":"friendsofsymfony/user-bundle","fixed_in":["1.2.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"friendsofsymfony/user-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.2.1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"friendsofsymfony/user-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.2.1"}]}],"versions":["1.1.0","1.2.0"]}],"references":[{"url":"https://github.com/FriendsOfSymfony/FOSUserBundle/commit/5a36e2958068d1e6501dc8cf39bbae3ebb859d9f","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/friendsofsymfony/user-bundle/2012-07-10-1.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Changelog.md","tags":["web"]},{"url":"https://github.com/FriendsOfSymfony/FOSUserBundle/commit/1b8bc18e3d99ef0b52b4141f20da323033d6be9b","tags":["web"]},{"url":"https://github.com/advisories/GHSA-8wx3-8m4x-g5h4"},{"url":"https://github.com/FriendsOfSymfony/FOSUserBundle","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-8wx3-8m4x-g5h4","title":"FOSUserBundle User Identity Validation Vulnerability","description":"Versions of FOSUserBundle prior to 1.2.1 have been found to be vulnerable to a security issue related to user identity validation. Specifically, user refreshing was performed using the primary key instead of the username, leading to a potential security risk if a user is allowed to change their username. The fix in version 1.2.1 addresses this issue by loading the user using the primary key during refreshing.","status":"published","published":"2024-05-15T21:43:23Z","modified":"2026-07-16T18:42:41Z","cwes":["CWE-285"],"updated_at":"2026-11-02T14:40:44.915484Z"}],"osv":[{"id":"GHSA-8wx3-8m4x-g5h4","title":"FOSUserBundle User Identity Validation Vulnerability","description":"Versions of FOSUserBundle prior to 1.2.1 have been found to be vulnerable to a security issue related to user identity validation. Specifically, user refreshing was performed using the primary key instead of the username, leading to a potential security risk if a user is allowed to change their username. The fix in version 1.2.1 addresses this issue by loading the user using the primary key during refreshing.","status":"published","published":"2024-05-15T21:43:23Z","modified":"2026-07-16T18:45:48.27139021Z","cwes":["CWE-285"],"updated_at":"2026-11-02T15:46:42.78452Z"}]}}
