Lucene search

K
osvGoogleOSV:BIT-GOLANG-2024-24785
HistoryMar 12, 2024 - 8:24 a.m.

BIT-golang-2024-24785

2024-03-1208:24:09
Google
osv.dev
15
marshaljson
auto-escaping
html/template
unexpected content
software

6.6 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.4%

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.

CPENameOperatorVersion
golangge1.22.0-0
golanglt1.21.8
golanglt1.22.1