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.
{
"github_reviewed": true,
"nvd_published_at": null,
"cwe_ids": [
"CWE-285"
],
"github_reviewed_at": "2024-05-15T21:43:23Z",
"severity": "MODERATE"
}