mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #5984] [MERGED] fix(common): prevent stored XSS in team member overflow tooltip #5446
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#5446
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/5984
Author: @jamesgeorge007
Created: 3/13/2026
Status: ✅ Merged
Merged: 3/14/2026
Merged by: @jamesgeorge007
Base:
next← Head:fix/html-injection-memberstack📝 Commits (1)
94573ebfix(common): prevent stored XSS in team member overflow tooltip📊 Changes
2 files changed (+12 additions, -3 deletions)
View changed files
📝
packages/hoppscotch-common/assets/themes/tippy-themes.scss(+9 -0)📝
packages/hoppscotch-common/src/components/teams/MemberStack.vue(+3 -3)📄 Description
Addresses GHSA-vw93-4m6p-ccm9.
Closes FE-1165.
The team member overflow tooltip rendered user-controlled content as HTML, which allowed stored XSS in workspaces with 4+ members.
What's changed
allowHTML: truefrom thev-tippydirective so content renders as plain text.<br>join separators with\nfor newline-separated tooltip entries.member-listtippy theme variant withwhite-space: pre-lineto preserve multiline rendering without HTML.Notes to reviewers
No intended visual change for typical member lists: the overflow tooltip continues to render as before, but display names are now treated as plain text.
Manual verification: use a team workspace with 4+ members where one member’s display name contains HTML markup. The overflow tooltip should render that markup as literal text rather than interpreting it as HTML.
Summary by cubic
Fixes a stored XSS in the team member overflow tooltip by rendering member names as plain text and preserving multiline safely. Addresses FE-1165 and GHSA-vw93-4m6p-ccm9.
allowHTMLfromv-tippy; tooltip content is now plain text.<br>joins to "\n" and added amember-listtippy theme withwhite-space: pre-lineto keep line breaks without HTML.Written for commit
94573eb843. Summary will update on new commits.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.