GoSeverity: MediumStatus: Published

Scripts() sanitizer bypass

Scripts() is documented to remove script, iframe, embed, and object tags, but through v1.6.0 it left those elements in place, so script content can survive sanitization. Fixed in 1.6.1.

Timeline

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

Machine-readable: JSON · Markdown · ID security/go/mrz1836__go-sanitize/2026-11-01-scripts-sanitizer-bypass

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