orbisai0security opened a new pull request, #21576: URL: https://github.com/apache/echarts/pull/21576
## Summary Fix critical severity security issue in `dist/echarts.common.js`. ## Vulnerability | Field | Value | |-------|-------| | **ID** | V-002 | | **Severity** | CRITICAL | | **Scanner** | multi_agent_ai | | **Rule** | `V-002` | | **File** | `dist/echarts.common.js:18808` | **Description**: The ECharts library processes user-controlled text content for labels, tooltips, and axis text. When tooltip renderMode is set to 'html' (default in browser environments), user-provided content may be rendered without proper HTML entity encoding. The normalizeSetOptionInput function processes options but does not sanitize text content that will be rendered in HTML contexts. ## Changes - `dist/echarts.common.js` ## Verification - [x] Build passes - [x] Scanner re-scan confirms fix - [x] LLM code review passed --- *Automated security fix by [OrbisAI Security](https://orbisappsec.com)* -- 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]
