CVE-2022-31035CWE-79

External URLs for Deployments can include javascript in argo-cd

Critical · published June 27, 2022

CVSS v3.1
9.0
EPSS
1%
Percentile
61.3
In the wild
Unconfirmed
What it is

🚨 A sneaky XSS vulnerability in Argo CD could let attackers execute scripts with admin privileges—make sure your Kubernetes playground is safe! 🔥 Think of it like a malicious chef who sneaks a dangerous ingredient into a popular recipe—once the unsuspecting diners (your users) take a bite, chaos can ensue in the kitchen (your Kubernetes environment). An attacker can inject a `javascript:` link into the Argo CD UI, and when clicked by an unsuspecting victim, that script runs with their permissions. This means they could create, modify, or even delete critical Kubernetes resources—absolutely devastating for your deployments!

Put simply

Think of it like a malicious chef who sneaks a dangerous ingredient into a popular recipe—once the unsuspecting diners (your users) take a bite, chaos can ensue in the kitchen (your Kubernetes environment). This XSS vulnerability allows a malicious user to inject harmful JavaScript into the Argo CD interface, which executes in the context of a victim's session, granting access to sensitive actions within the UI and API.

What to do

An attacker can inject a `javascript:` link into the Argo CD UI, and when clicked by an unsuspecting victim, that script runs with their permissions. This means they could create, modify, or even delete critical Kubernetes resources—absolutely devastating for your deployments! Upgrade your Argo CD installation to at least version v2.4.1, v2.3.5, v2.2.10, or v2.1.16 immediately to patch this vulnerability. Since there are no effective workarounds, prioritizing this upgrade is essential for securing your deployment. You've got this! By staying vigilant and upgrading, you'll secure your Kubernetes environment in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00962 · 61.3th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2022-06-27T19:10Z
EPSS history
Timeline
  • 27 JUN 19:10Z
    External URLs for Deployments can include javascript in argo-cd
    cvelistv5