Disclosure Date 2024/03/04

CVE-2024-24785

Insufficient escaping in html/template of Go

Goのhtml/templateにおけるエスケープ不備

Credit

RyotaK

Description

If errors returned from MarshalJSON methods contain user controlled data, they may be used to break the contextual auto-escaping behavior of the html/template package, allowing for subsequent actions to inject unexpected content into templates.

Back