PT-2024-3060 · Go+10 · Html/Template+10
Ryotak
·
Published
2024-03-05
·
Updated
2026-02-26
·
CVE-2024-24785
CVSS v2.0
7.8
High
| Vector | AV:N/AC:L/Au:N/C:N/I:C/A:N |
Name of the Vulnerable Software and Affected Versions
html/template package versions (affected versions not specified)
Description
The issue is related to the lack of input validation in the html/template package of the Go programming language. This can be exploited by a remote attacker to inject arbitrary content into templates. 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.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Almalinux
Astra Linux
Centos
Debian
Linuxmint
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Html/Template