Skip to content

security(core): HTML-encode the application name in the graph note tooltip - #7966

Closed
ar2rsawseen wants to merge 1 commit into
masterfrom
security/note-tooltip-appname-encode
Closed

security(core): HTML-encode the application name in the graph note tooltip#7966
ar2rsawseen wants to merge 1 commit into
masterfrom
security/note-tooltip-appname-encode

Conversation

@ar2rsawseen

Copy link
Copy Markdown
Member

The graph-note hover tooltip builds its content as an HTML string that includes the application name from countlyGlobal (raw at runtime) and renders it with tipsy({html: true}). Encode the application name with countlyCommon.encodeHtml so it renders as text. The other values in the tooltip are API-encoded or i18n; display is unchanged.

Same shape as the active-app name and compliance-hub encodes already in flight.

🤖 Generated with Claude Code

…oltip

The graph-note hover tooltip builds its content as an HTML string that includes the
application name from countlyGlobal, whose values are raw at runtime, and renders it via
tipsy html:true. Encode the application name with countlyCommon.encodeHtml so it renders
as text; the other values in the tooltip are API-encoded or i18n. Display is unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ar2rsawseen

Copy link
Copy Markdown
Member Author

Superseded by #7970, which consolidates the frontend HTML-sink hardening into a single per-repo PR. The same change (same authorship) is included there. Closing this one.

@ar2rsawseen
ar2rsawseen deleted the security/note-tooltip-appname-encode branch August 19, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant