Context-Inappropriate Capability
Medium
- Confidence
- 95% confidence
- Finding
- The generated report loads Chart.js from a third-party CDN at runtime, which creates a supply-chain and privacy risk: opening the report causes the viewer's browser to contact an external domain and execute remotely hosted JavaScript. If the CDN response is tampered with, blocked, or replaced, the report can execute attacker-controlled code or fail unexpectedly; this is more concerning here because the report contains sensitive health data.
