CVE-2024-24785

Name
CVE-2024-24785
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
security@golang.org https://go.dev/cl/564196
security@golang.org https://go.dev/issue/65697
security@golang.org https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg
security@golang.org https://pkg.go.dev/vuln/GO-2024-2610
security@golang.org https://security.netapp.com/advisory/ntap-20240329-0008/
security@golang.org http://www.openwall.com/lists/oss-security/2024/03/08/4

Match rules

CPE URI Source package Min version Max version
html/template >= 0 < 1.21.8
html/template >= 1.22.0-0 < 1.22.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status