If errors returned from MarshalJSON methods contain user...
Unreviewed
Published
Mar 6, 2024
to the GitHub Advisory Database
•
Updated May 1, 2024
Description
Published by the National Vulnerability Database
Mar 5, 2024
Published to the GitHub Advisory Database
Mar 6, 2024
Last updated
May 1, 2024
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.
References