Skip to main content
Mallory
HighVulnerability

CVE-2023-29400: HTML Attribute Injection in Go html/template

Published May 11, 2023 · Updated 10 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 1 in a dayToday
CVSS7.3High · v3.1
EPSS1.1%65th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Golang
IdentifiersCVE-2023-29400CWE-176

CVE-2023-29400 is an HTML attribute injection vulnerability in Go's html/template package. When a template action supplies an unquoted HTML attribute value and evaluates to an empty string, HTML normalization rules can cause the rendered output to be parsed differently than intended. Under affected template-use conditions, this behavior can permit injection of arbitrary attributes into HTML tags, bypassing the intended contextual escaping protections.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can alter the attributes and behavior of rendered HTML elements. The security consequences depend on the surrounding template and the injected attributes; arbitrary attribute injection does not by itself establish server-side code execution or complete system compromise. Red Hat rates the vulnerability Moderate, with a CVSS v3.1 score of 7.3 and low confidentiality, integrity, and availability impacts.

Mitigation

If you can’t patch tonight, do this now.

At the application level, avoid template actions in unquoted HTML attribute values; use properly quoted attribute values and review affected templates for empty-value behavior. Restrict access to vulnerable rendering functionality where feasible. OAuth authentication limits access to affected templates in OpenShift Container Platform and Red Hat Advanced Cluster Management for Kubernetes, reducing exposure to authenticated users. Red Hat lists no broadly applicable workaround meeting its Product Security mitigation criteria.

Remediation

Patch, then assume compromise.

Update Go to a vendor-supported release containing the CVE-2023-29400 fix, then rebuild and redeploy affected applications. The fix was applied to the Go 1.19 and 1.20 release branches and emits the filterFailsafe value for empty unquoted HTML attribute values. For packaged applications and container images, install the applicable vendor security updates rather than only updating the host toolchain. Confirmed product fixes include Red Hat Go Toolset 1.19.9-1.el7_9, RHACS 3.74.4, and RHACS 4.0.2.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
GolangGoapplication
FAQ

Frequently asked questions

Is CVE-2023-29400 exploited in the wild?
As of Nov 19, 2026, Mallory has no reports of CVE-2023-29400 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2023-29400?
As of Nov 19, 2026, Mallory has found no public exploit for CVE-2023-29400.
Is there a patch for CVE-2023-29400?
Update Go to a vendor-supported release containing the CVE-2023-29400 fix, then rebuild and redeploy affected applications. The fix was applied to the Go 1.19 and 1.20 release branches and emits the filterFailsafe value for empty unquoted HTML attribute values.
What products are affected by CVE-2023-29400?
Golang Go.
How severe is CVE-2023-29400?
CVE-2023-29400 has a CVSS v3.1 score of 7.3 (High) and an EPSS score of 1.1% (65th percentile) as of Nov 19, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.