Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Affecting github.com/rancher/apiserver/pkg/urlbuilder package, versions <0.1.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th 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 Learn

Learn about Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMRANCHERAPISERVERPKGURLBUILDER-6246585
  • published14 Feb 2024
  • disclosed8 Feb 2024
  • creditMathias Kujala, Diego Bernal

Introduced: 8 Feb 2024

CVE-2023-32192  (opens in a new tab)
CWE-80  (opens in a new tab)

How to fix?

Upgrade github.com/rancher/apiserver/pkg/urlbuilder to version 0.1.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') due to the API Server's public API endpoint handling of user input. An attacker can trigger JavaScript code and execute commands remotely by injecting malicious payloads into the URL, which then gets rendered and executed on the page.

CVSS Base Scores

version 3.1