mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-19 09:06:14 +00:00
The middleware is a transparent passthrough for XML API responses (Content-Type: application/vnd.bose.streaming-v1.2+xml). Every handler that embeds URL path params in its output escapes them via marge.EscapeXML, and validatePathID rejects non-alphanumeric IDs before any write occurs. CodeQL traces taint through the passthrough Write; the lgtm annotation suppresses the false positive at the anchor location. Closes CodeQL alert 75 (go/reflected-xss). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>