---
title: "Go standard library html/template vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/gostandardlibrary/html-template
type: product
description: "Go standard library html/template has 14 published CVEs, 0 in CISA KEV and 0 with public exploits."
updated: 2026-10-08
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# Go standard library html/template vulnerabilities

Vendor: [Go standard library](https://radicalnotion.ai/vendor/gostandardlibrary)

- **Published CVEs:** 14
- **In CISA KEV:** 0
- **With a public exploit:** 0
- **With a patch:** 14
- **Average CVSS:** 6.8
- **First CVE:** 2023-04-06
- **Latest CVE:** 2026-10-08

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 2 |
| High | 3 |
| Medium | 9 |
| Low | 0 |
| Unscored | 0 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-79](https://radicalnotion.ai/cwe/cwe-79) | Improper Neutralization of Input During Web Page Generation | 9 |
| [CWE-74](https://radicalnotion.ai/cwe/cwe-74) | Improper Neutralization of Special Elements in Output Used by a Downstream Component | 3 |
| [CWE-150](https://radicalnotion.ai/cwe/cwe-150) | Improper Neutralization of Escape, Meta, or Control Sequences | 1 |
| [CWE-94](https://radicalnotion.ai/cwe/cwe-94) | Improper Control of Generation of Code | 1 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2023 | 6 |
| 2024 | 1 |
| 2025 | 0 |
| 2026 | 7 |

## Affected versions (top 12 of 19)

| Version | Kind | CVEs |
| --- | --- | --- |
| \< 1.19.9 | range | 3 |
| 1.20.0-0 \<= v \< 1.20.4 | range | 3 |
| \< 1.20.8 | range | 2 |
| \< 1.25.10 | range | 2 |
| \< 1.26.9 | range | 2 |
| 1.21.0-0 \<= v \< 1.21.1 | range | 2 |
| 1.26.0-0 \<= v \< 1.26.3 | range | 2 |
| 1.27.0-0 \<= v \< 1.27.2 | range | 2 |
| \< 1.19.8 | range | 1 |
| \< 1.21.8 | range | 1 |
| \< 1.25.13 | range | 1 |
| \< 1.25.8 | range | 1 |

## Fixed in (top 12 of 19)

| Version | CVEs |
| --- | --- |
| 1.19.9 | 3 |
| 1.20.4 | 3 |
| 1.20.8 | 2 |
| 1.21.1 | 2 |
| 1.25.10 | 2 |
| 1.26.3 | 2 |
| 1.26.9 | 2 |
| 1.27.2 | 2 |
| 1.19.8 | 1 |
| 1.20.3 | 1 |
| 1.21.8 | 1 |
| 1.22.1 | 1 |

## CVEs

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-97030 | Recognize yield as regexp preceder keyword in html/template | medium | 6.1 | No | No | Yes |
| CVE-2026-94448 | Reset context tracking on consecutive template expressions in html/template | medium | 6.1 | No | No | Yes |
| CVE-2026-56858 | Fix Javascript regexp context tracking in html/template | medium | 6.1 | No | No | Yes |
| CVE-2026-39823 | Bypass of meta content URL escaping causes XSS in html/template | medium | 6.1 | No | No | Yes |
| CVE-2026-39826 | Escaper bypass leads to XSS in html/template | medium | 6.1 | No | No | Yes |
| CVE-2026-32289 | JsBraceDepth Context Tracking Bugs (XSS) in html/template | medium | 6.1 | No | No | Yes |
| CVE-2026-27142 | URLs in meta content attribute actions are not escaped in html/template | high | 7.5 | No | No | Yes |
| CVE-2024-24785 | Errors returned from JSON marshaling may break template escaping in html/template | medium | 5.4 | No | No | Yes |
| CVE-2023-39319 | Improper handling of special tags within script contexts in html/template | medium | 6.1 | No | No | Yes |
| CVE-2023-39318 | Improper handling of HTML-like comments in script contexts in html/template | medium | 6.1 | No | No | Yes |
| CVE-2023-24539 | Improper sanitization of CSS values in html/template | high | 7.3 | No | No | Yes |
| CVE-2023-24540 | Improper handling of JavaScript whitespace in html/template | critical | 9.8 | No | No | Yes |
| CVE-2023-29400 | Improper handling of empty HTML attributes in html/template | high | 7.3 | No | No | Yes |
| CVE-2023-24538 | Backticks not treated as string delimiters in html/template | critical | 9.8 | No | No | Yes |

## Frequently asked questions

### How many CVEs does Go standard library html/template have?

Go standard library html/template has 14 published CVE records since 2023.

### How many Go standard library html/template CVEs are in CISA KEV?

None of Go standard library html/template's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for Go standard library html/template vulnerabilities?

No Go standard library html/template CVEs currently have a tracked public exploit in this dataset.

### Which versions of Go standard library html/template are affected?

38 distinct Go standard library html/template versions are named across its CVEs. Use the version filter above to see the CVEs affecting a specific version.

### What are the most common weakness types in Go standard library html/template CVEs?

Go standard library html/template's CVEs most often map to these CWE weakness types: CWE-79 (Improper Neutralization of Input During Web Page Generation), CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component), CWE-150 (Improper Neutralization of Escape, Meta, or Control Sequences), CWE-94 (Improper Control of Generation of Code).

### How many critical Go standard library html/template vulnerabilities are there?

Go standard library html/template has 2 critical and 3 high-severity CVEs.

### What is the average severity of Go standard library html/template CVEs?

The average CVSS base score across Go standard library html/template's scored CVEs is 6.8.

## Other products from this vendor

- [net/http](https://radicalnotion.ai/vendor/gostandardlibrary/net-http) (27 CVEs)
- [crypto/x509](https://radicalnotion.ai/vendor/gostandardlibrary/crypto-x509) (15 CVEs)
- [crypto/tls](https://radicalnotion.ai/vendor/gostandardlibrary/crypto-tls) (13 CVEs)
- [net/http/internal/http2](https://radicalnotion.ai/vendor/gostandardlibrary/net-http-internal-http2) (6 CVEs)
- [net/textproto](https://radicalnotion.ai/vendor/gostandardlibrary/net-textproto) (6 CVEs)
- [os](https://radicalnotion.ai/vendor/gostandardlibrary/os) (6 CVEs)
- [path/filepath](https://radicalnotion.ai/vendor/gostandardlibrary/path-filepath) (6 CVEs)
- [net/url](https://radicalnotion.ai/vendor/gostandardlibrary/net-url) (5 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/gostandardlibrary/html-template). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
