Skip to content

[Bug] 图例的tooltip存在xss攻击 #19997

@lixm9881

Description

@lixm9881

Version

5.3.2

Link to Minimal Reproduction

https://codepen.io/lixm9881/pen/vYwgREo

Steps to Reproduce

图例的数据包含html标签时,鼠标移至图例上内容被解析成html,如截图所示:
image
image

Current Behavior

图例数据被解析成html

Expected Behavior

期望可正常展示图例数据,不被解析

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

附已被关闭的issue链接:#19988

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions