Context-Inappropriate Capability
Medium
- Confidence
- 97% confidence
- Finding
- The DOMPoint example assigns untrusted data fields directly into `node.innerHTML`, which can enable DOM-based XSS if `name` or `description` contain attacker-controlled HTML or script gadgets. In a Web-GIS application, point metadata often comes from external datasets, APIs, or user input, so this documentation pattern can easily propagate into real applications and lead to script execution in the browser.
