Code execution via evaluated ECharts configuration
Published Sep 4, 2025 · Updated Sep 4, 2025
Cross-site scripting in 5ire 0.13.2 allows remote attackers to execute code through crafted ECharts content in chat messages. The chat renderer decodes data-echarts-config in initECharts and passes it to parseOption, which evaluates the value with new Function. Exploitation requires crafted content to reach a displayed chat message and user interaction, after which JavaScript can invoke Electron APIs to launch attacker-specified commands.
Summary
What happened
Cross-site scripting in 5ire 0.13.2 allows remote attackers to execute code through crafted ECharts content in chat messages. The chat renderer decodes data-echarts-config in initECharts and passes it to parseOption, which evaluates the value with new Function. Exploitation requires crafted content to reach a displayed chat message and user interaction, after which JavaScript can invoke Electron APIs to launch attacker-specified commands.
The record
- CVE
- CVE-2025-58357
- Published
- Sep 4, 2025
- Updated
- Sep 4, 2025
- Vendor
- nanbingxyz
- Product
- 5ire
- Classifications
- CWE-79, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 4, 2025CVE publishedPublication date reported by the CVE source.
- Sep 4, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 0.13.2, < 0.14.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GitHub advisory ECharts proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo