T09 · Insecure Skill Coding Practices
- Location
scripts/generate_service_bundle.py:500- Finding
Stored DOM-Based Cross-Site Scripting Through Dashboard Metadata
- Content
View full analysis
${w.title || w.query_id}${w.chart || 'table'}`; ``` ### Technical Analysis The SQL Markdown file is an external input. Its headings and `title` metadata can contain arbitrary HTML because the parser does not validate or encode these fields. The resulting value passes through `query_catalog.json` and `dashboard.json`, is returned by the generated backend, and is interpolated directly into `Element.innerHTML`. Unlike `textContent`, `innerHTML` invokes the browser's HTML parser. Event-handler attributes or similar active marku ...[truncated 1724 chars]- Remediation
View remediation
`, ``, and HTML-closing sequences in every Markdown metadata field. ]]>
