Cross-site Scripting (XSS) Affecting golang-misc package, versions <0:1.26.9-1.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.29% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-GOLANGMISC-21700425
  • published25 Oct 2026
  • disclosed8 Oct 2026

Introduced: 8 Oct 2026

CVE-2026-97030  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 golang-misc to version 0:1.26.9-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-3225.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-misc package and not the golang-misc package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

A trusted template author may have previously written a valid template wherein the use of the 'yield' keyword would not be correctly escaped. We now ensure that valid keyword uses are escaped and non-keyword uses are not escaped.

CVSS Base Scores

version 3.1