Improper handling of HTML-like comments in script contexts in html/template
The html/template package does not properly handle HTML-like "" comment tokens, nor hashbang "#!" comment tokens, in <script> contexts. This may cause the template parser to improperly interpret the contents of <script> contexts, causing actions to be improperly escaped. This may be leveraged to perform an XSS attack.
01
beschreibt (1)
Zugehörige CVEs.
| ID | Schweregrad | ausnutzbar | ||
|---|---|---|---|---|
| CVE-2023-39318US | medium6.1 | — | ||
The html/template package does not properly handle HTML-like "" comment tokens, nor hashbang "#!" comment tokens, in <script> contexts. This may cause the template parser to improp… | ||||
02
Referenzen
Externe Belege — Patches, Meldungen, Analysen.
- https://go.dev/cl/526156FIX
- https://go.dev/issue/62196REPORT
- https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJDISCUSSION
- https://nvd.nist.gov/vuln/detail/CVE-2023-39318WEB
- https://pkg.go.dev/vuln/GO-2023-2041ADVISORY
- https://security.gentoo.org/glsa/202311-09WEB
- https://security.netapp.com/advisory/ntap-20231020-0009/ADVISORY
scry
Advisories wie diese benennen die exponierten Produkte, die Angreifer auf Ihrer Angriffsfläche ins Visier nehmen. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan