Cross-site Scripting (XSS) Affecting amazon-ssm-agent package, versions <0:3.3.5828.0-1.amzn2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.32% (26th 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-AMZN2-AMAZONSSMAGENT-22520716
  • published13 Nov 2026
  • disclosed27 Oct 2026

Introduced: 27 Oct 2026

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

How to fix?

Upgrade Amazon-Linux:2 amazon-ssm-agent to version 0:3.3.5828.0-1.amzn2 or higher.
This issue was patched in ALAS2-2026-4101.

NVD Description

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

In childTextNodesAreLiteral, walking up the tree previously stopped at the nearest foreign ancestor once an HTML integration point was found. However, that integration point may itself be a descendant of an element that was foster-parented into a foreign namespace (such as <mglyph> or <malignmark> fostered under <mtext>), causing a parser to resolve the subtree in a different foreign namespace upon re-parsing the rendered output. Continue walking the full ancestor chain and verify that every transition from a non-empty namespace occurs at an HTML integration point before emitting literal text.

CVSS Base Scores

version 3.1