A sanitize-then-interpolate ordering bug exists in the geomap panel's XYZ tile layer. The `sanitizeTextPanelContent()` function processes the raw template string before `getTemplateSrv().replace()` substitutes the variable value. Because the substitution uses the glob format without HTML escaping, the final result is passed to OpenLayers via `element.innerHTML`. This allows an Editor to set a textbox variable's default value to a Cross-Site Scripting (XSS) payload, which then executes for every user who opens the dashboard.