Cross-site Scripting (XSS) Affecting oci-add-hooks-debugsource 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-OCIADDHOOKSDEBUGSOURCE-21702050
  • published25 Oct 2026
  • disclosed8 Oct 2026

Introduced: 8 Oct 2026

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

How to fix?

Upgrade Amazon-Linux:2023 oci-add-hooks-debugsource 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-debugsource package and not the oci-add-hooks-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

When a JavaScript template literal contains consecutive expressions, the context tracking state was not properly reset upon entering a new expression. We now ensure that template-literal expression entries correctly reset context variables so all subsequent regular expression literals are accurately recognized and escaped.

CVSS Base Scores

version 3.1