TypeScriptSeverity: LowStatus: Fixed

Unescaped catalog strings written into the page with innerHTML

Object names loaded from an external catalog through the ?tle= URL parameter were written into the page as HTML (innerHTML), so a crafted catalog file plus a ?search= term could inject markup into the search results, the satellite info box and the hover box when the link loaded. Theodore Kruczek (thkruz) wrote and merged the fix in pull request 1487 on 2026-11-21; the pull request body credits Ugur Celik (ucsurf), @ucsurf.

Catalog strings

keeptrack.space is a TypeScript, browser-based satellite tracking and visualization application. Object names loaded from an external catalog through the ?tle= URL parameter were written into the page as HTML (innerHTML). A crafted catalog file plus a ?search= term could inject markup into the search results, the satellite info box and the hover box when the link loaded.

The fix

Theodore Kruczek (thkruz) wrote and merged pull request 1487, “fix(ui): escape catalog strings before they reach innerHTML”. The pull request body credits “Ugur Celik (ucsurf), @ucsurf”.

Catalog strings at those spots now go through the existing escapeHtml helper and render as plain text. Search highlighting escapes each slice. The same unescaped pattern was also fixed in the watchlist, the constellations table, the breakup analysis table, the satellite FOV list, the plot tooltips, and the launch vehicle row. Regression tests were added.

Timeline

  1. Found
  2. Reported via email
  3. Disclosed publicly
  4. Entry last updated

Machine-readable: JSON · Markdown · ID security/typescript/thkruz__keeptrack.space/2026-11-21-unescaped-catalog-strings-innerhtml

If this work is useful to you, you can support it on Buy Me a Coffee.