Andrew Rukin created FLINK-41661:
------------------------------------
Summary: 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
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)