A stored XSS vulnerability exists in the Number field type settings. The Prefix and Suffix fields are rendered using the |md|raw Twig filter without proper escaping, allowing script execution when the Number field is displayed on users' profiles.
allowAdminChanges is enabled in production, which is against our security recommendations.<img src=x onerror="alert('Number Prefix/Suffix XSS')" hidden>
/admin/myaccount) or any user profile (/admin/users/{id})Sanitize prefix/suffix before rendering or use |e filter instead of |raw.
4.16.185.8.22Exploitability
AV:NAC:LAT:NPR:HUI:PVulnerable System
VC:LVI:LVA:NSubsequent System
SC:NSI:NSA:N4.8/CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N