Vulnerability 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.
CVSS Score
MEDIUM
References
- http://www.openwall.com/lists/oss-security/2024/03/08/4
- https://go.dev/cl/564196
- https://go.dev/issue/65697
- https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg
- https://pkg.go.dev/vuln/GO-2024-2610
- https://security.netapp.com/advisory/ntap-20240329-0008/
- http://www.openwall.com/lists/oss-security/2024/03/08/4
- https://go.dev/cl/564196
- https://go.dev/issue/65697
- https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg
- https://pkg.go.dev/vuln/GO-2024-2610
- https://security.netapp.com/advisory/ntap-20240329-0008/
FAQ
What is CVE-2024-24785?
CVE-2024-24785 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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 ...
How severe is CVE-2024-24785?
CVE-2024-24785 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-24785?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.