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.
Platform | Package | Release Date | Advisory |
---|---|---|---|
Amazon Linux 2 - Core | golang | 2024-05-23 22:04 | ALAS2-2024-2554 |
Amazon Linux 2023 | golang | 2024-05-23 21:49 | ALAS2023-2024-629 |
Score Type | Score | Vector | |
---|---|---|---|
Amazon Linux | CVSSv3 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |