CVE-2025-30223
Beego allows Reflected/Stored XSS in Beego's RenderForm() Function Due to Unescaped User Input
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, GHSA.
Beschreibung
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.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/beego/beego, github.com/beego/beego/v2 | 2.3.6 |
| chainguard | harbor-2.11, harbor-2.12, harbor-fips-2.11 und 1 weitere | 2.11.2-r7 und 2 weitere |
| minimos | harbor-2.11 | 2.11.2-r3 |
Alle 7 Einträge aus 3 Quellen zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/beego/beego | kein Fix angegeben |
| go::GitHub Security Advisory Go | github.com/beego/beego/v2 | 2.3.6 |
| chainguard | harbor-2.11 | 2.11.2-r7 |
| chainguard | harbor-2.12 | 2.12.2-r9 |
| chainguard | harbor-fips-2.11 | 2.11.2-r10 |
| chainguard | harbor-fips-2.12 | 2.12.2-r9 |
| minimos | harbor-2.11 | 2.11.2-r3 |