Launch Week Day 1: Announcing Security Design Review
UNKNOWN Go

Errors returned from JSON marshaling may break template escaping in html/template

GO-2024-2610 · BIT-golang-2024-24785 · CVE-2024-24785

Published · Modified

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes