F-Rockman opened a new issue, #21285: URL: https://github.com/apache/echarts/issues/21285
### Version e.g. 5.2.2 ### Link to Minimal Reproduction https://codesandbox.io/p/sandbox/7dhzzt?file=%2Findex.js%3A14%2C5 ### Steps to Reproduce 1. Load malicious JavaScript to perform injection. 2. Hover the mouse over the element. ### Current Behavior 1.No built-in XSS sanitization in current versions 2.Missing security warnings in official documentation ### Expected Behavior 1.In the formatter output, enable automatic HTML escaping by default, or provide a toggle option to choose whether to enable it. 2.Add security notices to tooltip.formatter API documentation ### Environment ```markdown - OS: - Browser: - Framework: ``` ### Any additional comments? _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
