NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

GHSA-8wx3-8m4x-g5h4: FOSUserBundle User Identity Validation Vulnerability

medium

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.

Published May 15, 2024 · Updated Jul 16, 2026

Affected packages

friendsofsymfony/user-bundle

Ecosystem
Composer (PHP)
Affected
>= 1.0.0, < 1.2.1
Fixed in
1.2.1
Check
composer show friendsofsymfony/user-bundle

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to RainSignal.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries