mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-23 00:29:50 +02:00
Fix xss in user account display (#9097)
Only affects currently logged in user who has put HTML in their display name. #8813
This commit is contained in:
@@ -44,7 +44,7 @@ export function uiAccount(context) {
|
||||
// Add user name
|
||||
userLinkA.append('span')
|
||||
.attr('class', 'label')
|
||||
.html(details.display_name);
|
||||
.text(details.display_name);
|
||||
|
||||
logoutLink.append('a')
|
||||
.attr('class', 'logout')
|
||||
|
||||
Reference in New Issue
Block a user