[
https://issues.apache.org/jira/browse/FLINK-41661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Rukin updated FLINK-41661:
---------------------------------
Priority: Major (was: Minor)
> Guard against XSS in flame graph tooltips
> -----------------------------------------
>
> Key: FLINK-41661
> URL: https://issues.apache.org/jira/browse/FLINK-41661
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Web Frontend
> Reporter: Andrew Rukin
> Priority: Major
>
> The Flink Web Dashboard shows class and method names in flame graph tooltips.
> It renders each name as HTML. If a name contains an HTML tag, the browser
> can treat the tag as part of the page.
>
> I suggest using the tooltip's .text() method to show the name as plain text.
> This guards against XSS and keeps the percentage and sample count visible.
>
> I tested the change in Chromium. The tooltip showed the full tag as text. All
> 343 dashboard tests passed.
>
> I'd like to submit this change. Could you assign this issue to me?
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)