Context-Inappropriate Capability
Medium
- Confidence
- 97% confidence
- Finding
- The popup example builds HTML with unescaped feature property keys and values and passes it to setHTML(), which can lead to DOM-based XSS if any property contains attacker-controlled markup or scriptable content. In a map visualization context, feature data often comes from external GeoJSON, tilesets, or APIs, so treating those values as trusted is unsafe.
