go template security

  1. Go html/template CVE 2023 24538: Fixing Backtick JavaScript Escape

    The Go standard library's html/template package quietly carried a dangerous blind spot for months: it did not treat JavaScript backticks (ES6 template literals) as string delimiters when deciding how to escape injected content, allowing template actions to break out of a quoted JavaScript...