Context-Inappropriate Capability
Medium
- Confidence
- 96% confidence
- Finding
- The example injects inline HTML event handlers into InfoWindow content and relies on globally exposed functions such as `window.closeInfoWindow()` and `doSomething()`. This expands a display-oriented component into an execution surface; if developers later substitute dynamic or user-controlled content into the same pattern, it can enable DOM XSS or unauthorized actions triggered from injected markup.
