data-analysis-report-generator
Warn
Audited by Socket on Aug 8, 2026
1 alert found:
SecuritySecurityassets/report_template.html
MEDIUMSecurityMEDIUM
assets/report_template.html
No overt external malware behavior (e.g., network exfiltration, filesystem modification, credential theft) is visible in this fragment. However, it is security-critical: it injects unescaped dynamic content into the DOM via innerHTML and executes a dynamically constructed JavaScript payload via eval(chartInitCode). If any of the provided inputs (table titles, headers, rows, vizCharts ids/titles/options) can be attacker-influenced, the code can enable DOM-based XSS and potentially arbitrary in-browser code execution.
Confidence: 72%Severity: 90%
Audit Metadata