Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Affecting github.com/rancher/norman/api package, versions <0.3.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-GITHUBCOMRANCHERNORMANAPI-6245762
  • published14 Feb 2024
  • disclosed8 Feb 2024
  • creditMathias Kujala, Diego Bernal

Introduced: 8 Feb 2024

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

How to fix?

Upgrade github.com/rancher/norman/api to version 0.3.0 or higher.

Overview

github.com/rancher/norman/api is an API framework for Building Rancher Style APIs backed by K8s CustomResources and their controllers.

Affected versions of this package are vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in the public API endpoint. An attacker can trigger JavaScript code and execute commands remotely by injecting malicious payloads into user input that is then rendered in the UI. This includes crafting a malicious URL that gets rendered into a script executed on a page.

CVSS Scores

version 3.1