Cross-site Scripting (XSS) Affecting harbor-fips-2.12 package, versions <2.12.2-r9


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.04% (10th 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-CHAINGUARDLATEST-HARBORFIPS212-9652745
  • published3 Apr 2025
  • disclosed31 Mar 2025

Introduced: 31 Mar 2025

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

How to fix?

Upgrade Chainguard harbor-fips-2.12 to version 2.12.2-r9 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream harbor-fips-2.12 package and not the harbor-fips-2.12 package as distributed by Chainguard. See How to fix? for Chainguard 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.