CVE-2026-94448: 
Go Análise e mitigação de vulnerabilidades

Visão geral

CVE-2026-94448 is a Cross-Site Scripting (XSS) vulnerability in the Go standard library's html/template package, caused by improper context tracking state reset when processing consecutive expressions within JavaScript template literals. Affected versions include all Go releases before 1.26.9 and versions 1.27.0-0 through 1.27.2 (exclusive). It was published on October 8, 2026, with patches released the same day. The vulnerability carries a CVSS v3.1 base score of 6.1 (Medium) (Red Hat Advisory, GitHub Advisory).

Detalhes técnicos

The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). When the html/template package processes JavaScript template literals containing consecutive expressions (e.g., `${expr1}${expr2}`), the context tracking state is not properly reset upon entering each new expression. This causes subsequent regular expression literals to be misidentified and incorrectly escaped, potentially allowing unescaped or maliciously crafted content to be injected into the rendered HTML output. The fix ensures that template-literal expression entries correctly reset context variables for each new expression (Red Hat Bugzilla, GitHub Advisory).

Impacto

Successful exploitation allows an unauthenticated, network-based attacker to inject unescaped content into HTML pages generated by Go applications using the html/template package, resulting in low-severity confidentiality and integrity impacts (e.g., session hijacking, credential theft, or page content manipulation). User interaction is required, as a victim must visit or interact with a page rendering the malicious template output. Availability is not directly impacted, and the scope is changed, meaning the attack can affect resources beyond the vulnerable component itself (Red Hat Advisory).

Exploração

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of disclosure. The EPSS score is 0.0, indicating very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires user interaction, limiting opportunistic attack scenarios (Red Hat Advisory, GitHub Advisory).

Mitigação e soluções alternativas

Update Go to version 1.26.9 or later (for the 1.26.x branch) or 1.27.2 or later (for the 1.27.x branch) to remediate this vulnerability. Developers should review any applications using the html/template package with consecutive JavaScript template literal expressions and test for correct escaping behavior after patching. No configuration-based workaround is documented; upgrading is the recommended and only confirmed remediation (Red Hat Advisory, Red Hat Bugzilla).

Recursos adicionais


Origem: Este relatório foi gerado usando IA

Relacionado Go Vulnerabilidades:

CVE ID

Gravidade

Pontuação

Tecnologias

Nome do componente

Exploração do CISA KEV

Tem correção

Data de publicação

CVE-2026-97031HIGH7.5
  • Go logoGo
  • kubernetes-csi-external-resizer
NãoSimOct 08, 2026
CVE-2026-94447MEDIUM6.4
  • Go logoGo
  • golang-1.16
NãoSimOct 08, 2026
CVE-2026-94448MEDIUM5.5
  • Go logoGo
  • karma
NãoSimOct 08, 2026
CVE-2026-97032MEDIUM5.4
  • Go logoGo
  • cosmo-router-fips
NãoSimOct 08, 2026
CVE-2026-97030NONEN/A
  • Go logoGo
  • fzf
NãoSimOct 08, 2026

Avaliação de vulnerabilidade gratuita

Compare sua postura de segurança na nuvem

Avalie suas práticas de segurança na nuvem em 9 domínios de segurança para comparar seu nível de risco e identificar lacunas em suas defesas.

Solicitar avaliação

Marque uma demonstração personalizada

Pronto para ver a Wiz em ação?

"A melhor experiência do usuário que eu já vi, fornece visibilidade total para cargas de trabalho na nuvem."
David EstlickCISO
"A Wiz fornece um único painel de vidro para ver o que está acontecendo em nossos ambientes de nuvem."
Adam FletcherDiretor de Segurança
"Sabemos que se a Wiz identifica algo como crítico, na verdade é."
Greg PoniatowskiChefe de Gerenciamento de Ameaças e Vulnerabilidades