Cross-site Scripting (XSS) Affecting oci-add-hooks package, versions <0:0-0.1.20200504git268e3bb.amzn2023.0.13


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-OCIADDHOOKS-21702096
  • published25 Oct 2026
  • disclosed8 Oct 2026

Introduced: 8 Oct 2026

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

How to fix?

Upgrade Amazon-Linux:2023 oci-add-hooks to version 0:0-0.1.20200504git268e3bb.amzn2023.0.13 or higher.
This issue was patched in ALAS2023-2026-3272.

NVD Description

Note: Versions mentioned in the description apply only to the upstream oci-add-hooks package and not the oci-add-hooks 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