Cross-site Scripting (XSS) Affecting argo-workflows-4.0 package, versions <4.0.12-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.3% (21st 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-CHAINGUARDLATEST-ARGOWORKFLOWS40-20382872
  • published2 Oct 2026
  • disclosed29 Sept 2026

Introduced: 29 Sep 2026

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

How to fix?

Upgrade Chainguard argo-workflows-4.0 to version 4.0.12-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream argo-workflows-4.0 package and not the argo-workflows-4.0 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Serialize JavaScript serializes JavaScript values to a superset of JSON that includes regular expressions and functions. From 7.1.1 until 7.1.2, function values serialized by serialize-javascript are not fully protected against script-closing tags in attacker-influenced function source because SCRIPT_CLOSE_REGEXP can consume a second closing tag inside one match. When the serialized function is embedded in a script element, the surviving closing tag terminates the element early and causes the remaining output to be parsed as HTML, enabling cross-site scripting in the page origin. Only function values are affected; ordinary data values and options.isJSON output are unaffected. This issue is fixed in version 7.1.2.

CVSS Base Scores

version 3.1