GHSA-8wx3-8m4x-g5h4
JSON

medium

FOSUserBundle User Identity Validation Vulnerability

Severity
medium rating by GitHub
Published
Last changed

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.

Affected

Product or packageVersionsReported by
friendsofsymfony/user-bundle (Packagist)from 1.0.0 before 1.2.1GitHub Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-8wx3-8m4x-g5h4 changed 2026-07-16CC-BY-4.0