GoSeverity: MediumStatus: Published

#{} interpolation output is not HTML-escaped in text and attribute values (XSS)

Values interpolated with #{} in text and attribute positions were emitted without HTML escaping, allowing script injection from user-controlled data. Fixed in 0.0.5.

Timeline

  1. Found
  2. Reported via private vulnerability report
  3. Advisory published
  4. Entry last updated

Machine-readable: JSON · Markdown · ID security/go/mattn__go-slim/2026-10-31-interpolation-xss

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