Intent-Code Divergence
Medium
- Confidence
- 98% confidence
- Finding
- The template inserts summary fields into the DOM with innerHTML using unescaped values from window.USAGE_STATUS.summary, including generated_at, date_min, and date_max. If the upstream data generator ever includes attacker-controlled strings, this becomes a straightforward DOM XSS sink that executes when the local dashboard is opened, and the 'pure local' context can lower user suspicion and increase trust in the rendered content.
