Cross-site Scripting (XSS) Affecting harbor-2.11-portal package, versions <2.11.2-r3


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.06% (18th 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 Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-MINIMOSLATEST-HARBOR211PORTAL-13320546
  • published6 Oct 2025
  • disclosed31 Mar 2025

Introduced: 31 Mar 2025

CVE-2025-30223  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Minimos:latest harbor-2.11-portal to version 2.11.2-r3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream harbor-2.11-portal package and not the harbor-2.11-portal package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

Beego is an open-source web framework for the Go programming language. Prior to 2.3.6, a Cross-Site Scripting (XSS) vulnerability exists in Beego's RenderForm() function due to improper HTML escaping of user-controlled data. This vulnerability allows attackers to inject malicious JavaScript code that executes in victims' browsers, potentially leading to session hijacking, credential theft, or account takeover. The vulnerability affects any application using Beego's RenderForm() function with user-provided data. Since it is a high-level function generating an entire form markup, many developers would assume it automatically escapes attributes (the way most frameworks do). This vulnerability is fixed in 2.3.6.

CVSS Base Scores

version 3.1